R01UH0092EJ0110 Rev.1.10
Page 275 of 807
Jul 31, 2012
M16C/64C Group
17. Timer A
Table 17.9
Registers and Settings in Event Counter Mode (When Not Using Two-Phase Pulse
Signal Processing)
Register
Bit
Function and Setting
PCLKR
PCLK0
- (setting unnecessary)
CPSRF
CPSR
Write 1 to reset the clock prescaler.
PCLKSTP1
PCKSTP11
- (setting unnecessary)
PCKSTP17
- (setting unnecessary)
PWMFS
PWMFSi
Set to 0.
TACS0 to TACS2
7 to 0
- (setting unnecessary)
TAPOFS
POFSi
Select the output polarity when the MR0 bit in the TAiMR
register is 1 (pulse output).
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 0.
TA0TGH to TA0TGL Select a count source.
TRGSR
TAiTGH to TAiTGL
Select a count source.
UDF
TAiUD
Select a count operation.
TAiP
Set to 0.
TAi
15 to 0
Set the counter value.
TAiMR
7 to 0
Refer to the TAiMR register below.
i = 0 to 4
Note:
1.
This table does not describe a procedure.
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...