| Electronic Components Datasheet Search |
|
HD4074019FS Datasheet(PDF) 26 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
HD4074019FS Datasheet(HTML) 26 Page - Renesas Technology Corp |
|
26 / 65 page ![]() HD404019R Series 24 Timers The MCU contains a prescaler and two timer/counters (timers A and B). See figure 13. The prescaler is an 11-bit binary counter, timer A an 8-bit free-running timer, and timer B is an 8-bit auto-reload timer/event counter. Timer mode register B INT1 TBOF CPTA TAOF 4 Interrupt request flag of timer B Interrupt request flag of timer A Timer mode register A 4 44 3 3 CPTB Internal bus line (S1) TMB (4 bits) Timer B MPX Prescaler (11 bits) Timer A MPX TL (4 bits) Timer latch register TCB (8 bits) Timer counter B TLR (8 bits) Timer load register B Internal bus line (S2) System clock IFTA IFTB TCA (8 bits) Timer counter A TMA (3 bits) Figure 13 Timer/Counter Block Diagram Prescaler: The input to the prescaler is the system clock signal. The prescaler is initialized to $0000 by MCU reset, and it starts to count up with the system clock signal as soon as RESET input goes to logic 0. The prescaler keeps counting up except at MCU reset and stop mode. The prescaler provides clock signals to timer A, timer B, and the serial interface. The prescaler divide ratio is selected by timer mode register A (TMA), timer mode register B (TMB), or the serial mode register (SMR). Timer A Operation: After timer A is initialized to $00 by MCU reset, it counts up at every clock input signal. When the next clock signal is applied after timer A becomes $FF, it generates an overflow and becomes $00. This overflow causes the timer A interrupt request flag (IFTA: $001, bit 2) to go to 1. This timer can function as an interval timer periodically generating overflow output at every 256th clock signal input. The clock input signals to timer A are selected by timer mode register A (TMA: $008). Timer B Operation: Timer mode register B (TMB: $009) selects the auto-reload function, input clock source, and the prescaler divide ratio of timer B. When the external event input is used as an input clock signal to timer B, select R3 3/INT1 as INT1 and set the external interrupt mask (IM1) to prevent an external interrupt request from occurring. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |