hd64338023s Renesas Electronics Corporation., hd64338023s Datasheet - Page 298

no-image

hd64338023s

Manufacturer Part Number
hd64338023s
Description
Renesas 8-bit Single-chip Microcomputer Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 Timers
Bits 6 and 5—Counter Up/Down Control (TMC6, TMC5)
Selects whether TCC up/down control is performed by hardware using UD pin input, or whether
TCC functions as an up-counter or a down-counter.
Bit 6
TMC6
0
0
1
Bits 4 and 3—Reserved
Bits 4 and 3 are reserved; they are always read as 1 and cannot be modified.
Bits 2 to 0—Clock Select (TMC2 to TMC0)
Bits 2 to 0 select the clock input to TCC. For external event counting, either the rising or falling
edge can be selected.
Bit 2
TMC2
0
0
0
0
1
1
1
1
Note: * The edge of the external event signal is selected by bit IEG1 in the IRQ edge select
Rev. 7.00 Mar 10, 2005 page 256 of 652
REJ09B0042-0700
register (IEGR). See IRQ Edge Select Register (IEGR) in section 3.3.2 for details. IRQ1
in port mode register B (PMRB) must be set to 1 before setting 111 in bits TMC2 to TMC0.
Bit 1
TMC1
0
0
1
1
0
0
1
1
Bit 5
TMC5
0
1
*
Bit 0
TMC0
0
1
0
1
0
1
0
1
Description
TCC is an up-counter
TCC is a down-counter
Hardware control by UD pin input
UD pin input high: Down-counter
UD pin input low: Up-counter
Description
Internal clock: φ/8192
Internal clock: φ/2048
Internal clock: φ/512
Internal clock: φ/64
Internal clock: φ/16
Internal clock: φ/4
Internal clock: φ
External event (TMIC): rising or falling edge *
W
/4
(initial value)
(initial value)
*: Don't care

Related parts for hd64338023s