English
Language : 

HD404339 Datasheet, PDF (42/80 Pages) Hitachi Semiconductor – 4-bit HMCS400-Series microcomputer with large-capacity memory
HD404339 Series
Timer B
Timer B is an 8-bit multifunction timer that includes free-running, reload, and input capture timer features.
These are described as follows.
• By setting timer mode register B1 (TMB1: $009), one of seven internal clocks supplied from prescaler
S can be selected, or timer B can be used as an external event counter
• By setting timer mode register B2 (TMB2: $026), detection edge type of EVNB can be selected.
• By setting timer write register BL, U (TWBL, U: $00A, $00B), timer counter B (TCB) can be written
to during reload timer operation
• By setting timer read register BL, U (TRBL, U: $00A, $00B), the contents of timer counter B can be
read out
• Timer B can be used as an input capture timer to count the clock cycles between trigger edges input as
an external event
• An interrupt can be requested when timer counter B overflows or when a trigger input edge is received
during input capture operation
40