English
Language : 

M16C65 Datasheet, PDF (365/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
17. Timer A
17.5 Notes on Timer A
17.5.1 Timer A (Timer Mode)
17.5.1.1 Register Setting
The timer stops after reset. Set the mode, count source, counter value, etc., using registers TAiMR,
TAi, TACS0 to TACS2, TAPOFS, TCKDIVC0, and PCLKR before setting the TAiS bit in the TABSR
register to 1 (count starts) (i = 0 to 4).
Always make sure registers TAiMR, TACS0 to TACS2, TAPOFS, TCKDIVC0, and PCLKR are
modified while the TAiS bit is 0 (count stops), regardless of whether after reset or not.
17.5.1.2 Read from Timer
While counting is in progress, the counter value can be read at any time by reading the TAi register.
However, if the counter is read at the same time as it is reloaded, the value FFFFh is read. Also, if the
counter is read before it starts counting and after a value is set in the TAi register while not counting,
the set value is read.
17.5.1.3 Influence of SD
If a low-level signal is applied to the SD pin when the IVPCR1 bit in the TB2SC register is 1 (three-
phase output forcible cutoff by input on the SD pin enabled), pins TA1OUT, TA2OUT, and TA4OUT go
to the high-impedance state.
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 330 of 791