16-Bit Timer Register 0 (Tmr0)/16-Bit Reload Register 0 (Tmrlr0) - Fujitsu MB90335 Series Hardware Manual

16-bit microcontroller
Table of Contents

Advertisement

MB90335 Series
14.2.2
16-bit Timer Register 0 (TMR0)/16-bit Reload Register 0
(TMRLR0)
Configuration and functions of 16-bit timer registers 0 (TMR0)/16-bit reload registers 0
(TMRLR0) are described.

■ 16-bit Timer Register 0 (TMR0)/16-bit Reload Register 0 (TMRLR0)

Figure 14.2-3 shows the bit configuration of 16-bit timer registers 0 (TMR0)/16-bit reload registers
(TMRLR0).
Figure 14.2-3 Bit Configuration of 16-bit Timer Registers 0 (TMR0)/16-bit Reload Registers 0 (TMRLR0)
ch.0 : 000065
ch.0 : 000064
■ 16-bit Timer Register 0 (TMR0)
This register can read the counter value of 16-bit down counter. When the counter operation is permitted
(CNTE = 1 for TMCSR0) and the count operation is started, the value written in the 16-bit reload register is
loaded to the registers TMR0 and the count down is started. In the count stop status (CNTE = 0 for
TMCSR0), the TMR0 register value is held.
Note:
Always use the word transfer instruction (MOVW A, 003AH, etc.) when reading the TMR0 register
that is enabled during the counter operation.
The 16-bit timer register (TMR0) has a read-only function despite its location at the same address as
the write-only 16-bit reload register (TMRLR0). Therefore, the write process does not affect the
TMR0 value but the TMRLR0 is written.
CM44-10137-6E
bit
15
14
13
12
D15
D14
D13
D12
H
(R)
(R)
(R)
(R)
(W)
(W)
(W)
(W)
(X)
(X)
(X)
(X)
bit
7
6
5
4
D07
D06
D05
D04
H
(R)
(R)
(R)
(R)
(W)
(W)
(W)
(W)
(X)
(X)
(X)
(X)
FUJITSU MICROELECTRONICS LIMITED
CHAPTER 14 16-BIT RELOAD TIMER
14.2 Registers of 16-bit Reload Timer
11
10
9
8
D11
D10
D09
D08
(R)
(R)
(R)
(R)
(W)
(W)
(W)
(W)
(X)
(X)
(X)
(X)
3
2
1
0
D03
D02
D01
D00
(R)
(R)
(R)
(R)
(W)
(W)
(W)
(W)
(X)
(X)
(X)
(X)
TMR0/TMRLR0
Read (TMR0)
Write (TMRLR0)
Initial value
TMR0/TMRLR0
Read (TMR0)
Write (TMRLR0)
Initial value
327

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents