R01UH0136EJ0210 Rev.2.10
Page 278 of 800
Jul 31, 2012
M16C/64A Group
17. Timer A
Table 17.11
Registers and Settings in Event Counter Mode (When Processing Two-Phase Pulse
Register
Bit
Function and Setting
PCLKR
PCLK0
- (setting unnecessary)
CPSRF
CPSR
Write 1 to reset the clock prescaler.
PWMFS
PWMFSi
Set to 0.
TACS0 to TACS2
7 to 0
- (setting unnecessary)
TAPOFS
POFSi
Set to 0.
TAOW
TAiOW
Set to 0.
TAi1
15 to 0
- (setting unnecessary)
TABSR
TAiS
Set to 1 when starting counting.
Set to 0 when stopping counting.
ONSF
TAiOS
Set to 0.
TAZIE
Set to 1 when using Z-phase input with timer A3.
TA0TGH to TA0TGL - (setting unnecessary)
TRGSR
TAiTGH to TAiTGL
Set to 00b.
UDF
TAiUD
Set to 0.
TAiP
Set to 1.
TAi
15 to 0
Set the counter value.
TAiMR
7 to 0
Refer to the TAiMR register below.
i = 2 to 4
Note:
1.
This table does not describe a procedure.
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...