Reload Counter Registers - Fujitsu MB91460 SERIES FR60 User Manual

32-bit microcontroller
Table of Contents

Advertisement

Chapter 40 Pulse Frequency Modulator

2.Reload Counter Registers

2. Reload Counter Registers
This section describes the 16-bit pulse frequency modulator registers listed below.
Control status register (P0TMCSR, P1TMCSR)
16-bit counter register (P0TMR, P1TMR)
16-bit reload register (P0TMRLR, P1TMRLR)
■ Control Status Register (P0TMCSR, P1TMCSR)
Controls the operation mode and interrupts for the 16-bit reload counter.
Only change the value of bits other than UF and TRG when CNTE = "0".
The bits can be written simultaneously.
● P0TMCSR, P1TMCSR structure
Address
0000 0170
H
0000 0172
H
15
14
13
INV
Reserved
Reserved
R/W
R/W
R/W
● Functions of the P0TMCSR, P1TMCSR bits
[Bit 15] Reserved
Always set to "0".
[Bit 14] INV (INVersion)
The output signal inversion bit.
"0" is default level (counter 0 high level, counter 1 low level).
"1" inverts the output signal (counter 0 low level, counter 1 high level).
Remark: Writing INV of P0TMCSR or INV of P1TMCSR or both has the same effect.
[Bit 13] Reserved
Always set to "0".
[Bits 12, 10] CSL2, CSL1, CSL0 (Count clock SeLect)
The count clock select bits.
Table 2.1 lists the clock source selections.
826
12
11
10
9
CSL2
CSL1
CSL0
MOD1
Reserved
R/W
R/W
R/W
R/W
Figure 2-1 Structure of the Control Status Register
Bits
8
7
6
5
RELD
Reserved
Reserved
Reserved
R/W
R/W
R/W
R/W
R/W
Initial value : -0-000-0 ---00000
4
3
2
1
0
INTE
UF
CNTE
TRG
R/W
R/W
R/W
R/W
H
Access

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents