Fujitsu FR60 Computer Hardware User Manual


  Open as PDF
of 1038
 
899
Chapter 44 A/D Converter
5.Setting
5. Setting
*: For the setting procedure, refer to the section indicated by the number.
*: For the setting procedure, refer to the section indicated by the number.
Table 5-1 Settings needed to use A/D - Single-Shot Conversion Mode
Setting Setting Registers
Setting
Procedure*
Mode selection (Single-shot conversion)
A/D control (ADCS)
See 7.1
Bit length selection See 7.2
Channel selection See 7.3
Conversion time setting Conversion time setting (ADCT) See 7.4
To program the AN pin as an input
Port Function (PFR26-PFR29) and Extra Port
Function (EPFR26-EPFR27)
See 7.5
A/D activation trigger selection
A/D control (ADCS)
See 7.6
A/D activation trigger generation
Software trigger
-> Software trigger bit setting
See 7.7
Reload timer
-> Reload timer rising output
See “Chapter 38 Reload Timer (Page
No.775)”.
External trigger
-> Inputs a trigger to the ADTG(0, 1) pin.
External input
Conversion end flag check A/D control (ADCS) See 7.8
Conversion value read Data buffers (ADCR) See 7.9
Table 5-2 Settings needed to use A/D - Scan Conversion Mode
Setting Setting Registers
Setting
Procedure*
Mode selection (Scan conversion)
A/D control (ADCS)
See 7.1
Bit length selection See 7.2
Starting channel selection See 7.3
Conversion time setting Conversion time setting (ADCT) See 7.4
Program the AN pin as an input.
Port Function (PFR26-PFR29) and Extra Port
Function (EPFR26-EPFR27)
See 7.5
A/D activation trigger selection
A/D control (ADCS)
See 7.6
A/D activation trigger generation
Software trigger
-> Software trigger bit setting
See 7.7
Reload timer
-> Reload timer falling output
See “Chapter 38 Reload Timer (Page
No.775)”.
External trigger
-> Inputs a trigger to the ATGX pin.
External input
Conversion end flag check A/D control (ADCS) See 7.8
Conversion value read Data buffers (ADCR) See 7.9