參數(shù)資料
型號(hào): HD404812TF
廠商: Renesas Technology Corp.
英文描述: 4-Bit Single-Chip Microcomputer
中文描述: 4位單片機(jī)
文件頁(yè)數(shù): 54/100頁(yè)
文件大?。?/td> 384K
代理商: HD404812TF
HD404818 Series
52
Registers for Timers
Timer Mode Register A (TMA: $008):
Timer mode register A is a 4-bit write-only register which
controls the timer A operation as table 21 shows. Timer mode register A is initialized to $0 at MCU reset.
Timer Mode Register B (TMB: $009):
Timer mode register B (TMB) is a 4-bit write-only register which
selects the auto-reload function, the prescaler divide ratio, and the source of the clock input signal, as
shown in table 22. Timer mode register B is initialized to $0 by MCU reset.
The data of timer B changes at the second instruction cycle of a write instruction. Initialization of timer B
by writing data into timer load register B should be performed after the contents of TMB are changed.
Table 21 Timer Mode Register A
TMA
Bit 3
Bit 2
Bit 1
Bit 0
Source Prescaler, Input Clock Period,
Operating Mode
0
0
0
0
PSS, 2048 t
cyc
PSS, 1024 t
cyc
PSS, 512 t
cyc
PSS, 128 t
cyc
PSS, 32 t
cyc
PSS, 8 t
cyc
PSS, 4 t
cyc
PSS, 2 t
cyc
PSW, 32 t
subcyc
PSW, 16 t
subcyc
PSW, 8 t
subcyc
PSW, 2 t
subcyc
PSW, 1/2 t
subcyc
Do not use
Timer A mode
1
1
0
1
1
0
0
1
1
0
1
1
0
0
0
Time-base mode
1
1
0
1
1
0
0
1
1
0
PSW, TCA reset
1
Notes: 1. t
subcyc
= 244.14
μ
s (when a 32.768-kHz crystal oscillator is used)
2. Timer counter overflow output period (s) = input clock period (s)
×
256
3. If PSW or TCA reset is selected while the LCD is operating, LCD operation halts (power switch
goes off).
When the LCD is connected for display, the PSW and TCA reset periods must be set in the
program to the minimum.
4. In time base mode, the timer counter overflow output cycle must be greater than half of the
interrupt frame period (T/2 = t
RC
).
If 1/2 t
subcyc
is selected, t
RC
must be 7.8125 ms ((MIS1, MIS0) = (0, 1), see figure 13).
相關(guān)PDF資料
PDF描述
HD404816 4-Bit Single-Chip Microcomputer
HD404816FS 4-Bit Single-Chip Microcomputer
HD404816H 4-Bit Single-Chip Microcomputer
HD404816TF 4-Bit Single-Chip Microcomputer
HD404888 Low-Voltage AS Microcomputers with On-Chip LCD Circuit
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HD404814 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-Bit Single-Chip Microcomputer
HD404814FS 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-Bit Single-Chip Microcomputer
HD404814H 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-Bit Single-Chip Microcomputer
HD404814TF 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:16-digit LCD driver
HD404816 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-Bit Single-Chip Microcomputer