Home > Fujitsu > Controller > Fujitsu Series 3 Manual

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 611

 
4. Registers of Multifunction Timer 
 
4.3.18.  ADCMP Control Register A (ACSA) 
ACSA is a 16-bit register that controls ADCMP’s operation. 
This register controls all of ch0, ch1 and ch2 of ADCMP. 
 Configuration of Register 
 
Bit 15 14 13 12 11 10 9 8 
Field Reserved Reserved SEL2[1:0] SEL1[1:0] SEL0[1:0] 
Attribute  - -  R/W R/W R/W 
Initial Value  0 0 0  0 0 0 0 0 
           
Bit  7 6 5  4 3 2 1 0 
Field  Reserved Reserved  CE2[1:0] CE1[1:0] CE0[1:0] 
Attribute  - -  R/W R/W R/W 
Initial Value...

Page 612

 
4. Registers of Multifunction Timer 
 
[bit5:4] ACSA.CE2[1:0] 
Process Value Function 
00 Disables the operation of ADCMP ch.2. 
01  Enables the operation of ADCMP ch.2. 
Connects FRT ch.0 to ADCMP ch.2. 
10 Enables the operation of ADCMP ch.2. 
Connects FRT ch.1 to ADCMP ch.2. 
Write 
11 Enables the operation of ADCMP ch.2. 
Connects FRT ch.2 to ADCMP ch.2. 
Read 
- Reads the register setting. 
 
ACSA.CE0[1:0], ACSA.CE1[1:0], and ACSA.CE2[1:0] ar e registers that specify whether to enable or 
disable...

Page 613

 
4. Registers of Multifunction Timer 
 
[bit9:8] ACSA.SEL0[1:0] 
Process Value Function 
00 Instructs AD to be started, when FRT is in Up-count/Peak/Down-count state 
and it matches the setting value of ACCP0. Ignores the setting value of 
ACCPDN0. 
01 
Instructs AD to be started, when FRT is in Up-count state and it matches the 
setting value of ACCP0. Ignores 
the setting value of ACCPDN0. 
10 Instructs AD to be started, when FR
T is in Peak/Down-count state and it 
matches the setting value of ACCP0....

Page 614

 
4. Registers of Multifunction Timer 
 
ACSA.SEL0[1:0], ACSA.SEL1[1:0], and ACSA.SEL2[1:0] are registers that specify which count state FRT 
should be in to instruct AD conversion to be started at each channel of ADCMP. 
Change the setting of these register, when the operation of ADCMP to be connected is disabled. 
When using FRT in Up-count mode, set 00 to these registers for use. 
Figure 4-10  shows an example of the oper ation when

 SEL is set to 00. 
Figure 4-10 Example of Operation when SEL=00...

Page 615

 
4. Registers of Multifunction Timer 
 
Figure 4-12 shows an example of the oper ation when  SEL is set to 10. 
Figure 4-12 Example of Operation when SEL=10 
 
ACSA.SEL=10
FRT count 
0x0000
time
PEAK (=TCCP) ACCP
ADC start ADC start
 
 
Figure 4-13  shows an example of the oper ation when
  SEL is set to 11. 
Figure 4-13 Example of Operation when SEL=11 
 
ACSA.SEL=11
FRT count 
0x0000
time
ADC start ADC start
PEAK (=TCCP)ADC start ADC start
ACCP
ACCPDN
 
 
[bit15:14] Reserved 
Process Function 
Write...

Page 616

 
4. Registers of Multifunction Timer 
 
4.3.19.  ADCMP Control Register B (ACSB) 
ACSB is an 8-bit register that controls ADCMP’s operation. 
This register controls all of ch.0, ch.1 and ch.2 of ADCMP. 
 Configuration of Register 
 
Bit 7 6 5 4 3 2 1 0 
Field Reserved BTS2 BTS1 BTS0 ReservedBDIS2 BDIS1 BDIS0 
Attribute  - R/W  R/W R/W - R/W  R/W R/W 
Initial Value  0 0 0  0 0 1 1 1 
 
  Functions of Register 
[bit0] ACSB.BDIS0 
Process Value  Function 
0 Enables the buffer function of the ACCP0 and...

Page 617

 
4. Registers of Multifunction Timer 
 
[bit3] Reserved 
Process Function 
Write 0 must be written at write access. 
Read 0 is read. 
 
[bit4] ACSB.BTS0 
Process Value  Function 
0 Performs buffer transfer of the ACCP0 and ACCPDN0 registers upon Zero 
value detection by FRT. 
Write 
1 Performs buffer transfer of the ACCP0 and ACCPDN0 registers upon Peak 
value detection by FRT. 
Read 
- Reads the register setting. 
 
[bit5] ACSB.BTS1 
Process Value  Function 
0 Performs buffer transfer of the ACCP1 and...

Page 618

 
4. Registers of Multifunction Timer 
 
[bit7] Reserved 
Process Function 
Write 0 must be written at write access. 
Read 0 is read. 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER  15: Multifunction  Timer 
MN706-00002-1v0-E 
582 
MB9Axxx/MB9Bxxx  Series  

Page 619

 
4. Registers of Multifunction Timer 
 
4.3.20.  ADCMP Compare Value Store Register (ACCP) 
ACCP is a 16-bit register that specifies the timing of starting AD conversion at ADCMP as the 
compare value of the FRT count value. 
Each mounted channel has three registers: ACCP0, ACCP1 and ACCP2. 
ACCP0 stores the compare value of ADCMP ch0. 
ACCP1 stores the compare value of ADCMP ch1. 
ACCP2 stores the compare value of ADCMP ch2. 
It should be noted that this register does not allow for byte access. 
...

Page 620

 
4. Registers of Multifunction Timer 
 
   AD conversion cannot be started by writing 0x0000 to this register. 
   As the initial value of this register is 0x0

000, make sure to rewrite it to another value before use. 
   To start AD conversion upon Zero value detection, use the starting method by the TCSB.AD0E, 
TCSB.AD1E and TCSB.AD2E registers. 
   If the buffer function of ACCP register is to be used, use FRT-ch.0 for FRT to be connected. 
   It should be noted that when ACSA.SEL0[1:0],...
Start reading Fujitsu Series 3 Manual
All Fujitsu manuals