Fujitsu Series 3 Manual
Here you can view all the pages of manual Fujitsu Series 3 Manual. The Fujitsu manuals for Controller are available online for free. You can easily download all the documents as PDF.
Page 751
5. Registers 5. Registers This section explains the configuration and functions of the registers used for the \ 10-bit A/D converter. List of registers for the 10-bit A/D converter Abbreviation Register name See ADCR A/D Control Register 5.1 ADSR A/D Status Register 5.2 SCCR Scan Conversion Control Register 5.3 SFNS Scan Conversion FIFO Stage Count Setup Register 5.4 SCFD Scan Conversion FIFO Data Register 5.5 SCIS Scan Conversion Input Selection Register 5.6 PCCR Priority...
Page 752
5. Registers 5.1. A/D Control Register (ADCR) The A/D Control Register (ADCR) performs interrupt flag display and interrupt enable control. bit 15 14 13 12 11 10 9 8 Field SCIF PCIF CMPIFRes ervedSCIE PCIE CMPIE OVRIE Attribute R/W R/W R/W - R/W R/W R/W R/W Initial value 0 0 0 X 0 0 0 0 [bit 15] SCIF: Scan conversion interrupt request bit When conversion values are written up to the stage count specified in the Scan Conversion FIFO Stage Count Setup Register (SFNS) , this bit is set...
Page 753
5. Registers [bit 11] SCIE: Scan conversion interrupt enable bit This bit controls the interrupt request of SCIF. When the SCIE bit is enabled, and the SCIF bit is set, an interrupt request to the CPU is generated. Bit Description 0 Interrupt request disable 1 Interrupt request enable [bit 10] PCIE: Priority conversion interrupt enable bit This bit controls the interrupt request of PCIF. When the PCIE bit is enabled, and the PCIF bit is set, an interrupt request to the CPU is generated....
Page 754
5. Registers 5.2. A/D Status Register (ADSR) The A/D Status Register (ADSR) displays scan and priority conversion statuses. bit 7 6 5 4 3 2 1 0 Field ADSTPFDAS Reserved PCNS PCS SCS Attribute R/W R/W - - - R R R Initial value 0 0 X X X 0 0 0 [bit 7] ADSTP: A/D conversion forced stop bit Setting the ADSTP bit to 1 stops the A/D conversion operation forcibly (both scan and priority conversion operations are stopped). Forced stop of A/D conversion initializes the PCNS, PCS, and SCS...
Page 755
5. Registers [bit 1] PCS: Priority conversion status flag This flag indicates that priority A/D conversion is in progress. This flag is set while priority conversion at priority level 1 or 2 is performed. Writing is ignored. Bit Description 0 Priority conversion is stopped. 1 Priority conversion is in progress. [bit 0] SCS: Scan conversion status flag This flag indicates that scan A/D conversion is in progress. Writing is ignored. Bit Description 0 Scan conversion is stopped. 1 Scan...
Page 756
5. Registers 5.3. Scan Conversion Control Register (SCCR) The Scan Conversion Control Register (SCCR) controls the scan conversion mode. bit 15 14 13 12 11 10 9 8 Field SEMP SFUL SOVR SFCLRReservedRPT SHEN SSTR Attribute R R R/W R/W - R/W R/W R/W Initial value 1 0 0 0 X 0 0 0 [bit 15] SEMP: Scan conversion FIFO empty bit This bit is set when FIFO goes to the empty state. Wh en conversion data is written in the Scan Conversion FIFO Data Register (SCFD), this b it is set to 0....
Page 757
5. Registers [bit 11] Reserved: Reserved bit Write Has no effect on operation. Read The value is undefined. [bit 10] RPT: Scan conversion repeat bit Setting this bit to 1 places the converter in the rep eat mode. When the conversion of all analog input channels selected in the Scan Conv ersion Input Selection Register (SCI S) is completed, the conversion is started again. Setting the RPT bit to 0 ends the repeat conversion . The operation stops when the conversion of the analog input...
Page 758
5. Registers 5.4. Scan Conversion FIFO Stage Count Setup Register (SFNS) The Scan Conversion FIFO Stage Count Setup Register (SFNS) sets up the generation of interrupt requests in scan conversion. When the specified count of FIFO stages store A/D conversion data, the interrupt request bit (SCIF) is set. bit 7 6 5 4 3 2 1 0 Field Reserved SFS [3:0] Attribute - - - - R/W R/W R/W R/W Initial value X X X X 0 0 0 0 [bit 7:4] Reserved: Reserved bits Write Has no effect on operation....
Page 759
5. Registers 5.5. Scan Conversion FIFO Data Register (SCFD) The Scan Conversion FIFO Data Register (SCFD) consists of 16 FIFO stages and stores analog conversion results. Data can be retrieved sequentially by reading the register. bit 15 14 13 12 11 109 8 7 6 5 4 3 2 1 0 Field SD9 SD8 SD7 SD6 SD5 SD4SD3SD2SD1SD0Res ervedSC4 SC3 SC2 SC1SC0 Attribute R R R R R RRRR R R RR R R R Initial value X X X X X XXXX X X X X X X X [bit 15:6] SD9:SD0: Scan conversion result The result of 10-bit...
Page 760
5. Registers 5.6. Scan Conversion Input Selection Register (SCIS) The Scan Conversion Input Selection Register (SCIS) is used to select analog input channels for which scan conversion is performed. Any channels can be selected from multiple analog inputs. The selected channels are converted in ascending order of channel number. SCIS3 (most significant byte: AN31 to AN24) and SCIS2 (least significant byte: AN23 to AN16) bit 15 14 13 12 11 109 8 7 6 5 4 3 2 1 0 Field AN31 AN30 AN29 AN28...
All Fujitsu manuals