Fujitsu MB91460 SERIES FR60 User Manual page 844

32-bit microcontroller
Table of Contents

Advertisement

Chapter 40 Pulse Frequency Modulator
2.Reload Counter Registers
Writing "1" sets the counter to wait for a trigger.
Writing "0" stops count operation.
[Bit 0] TRG
Software trigger bit.
Writing "1" to TRG applies a software trigger, causing the counter to load the reload register
contents to the counter and start counting.
Writing "0" has no meaning. Reading always returns "0".
Applying a trigger using this register is only valid when CNTE = "1". Writing "1" has no effect if
CNTE = "0".
■ 16-bit Counter Register (P0TMR, P1TMR)
Reading this register reads the count value of the 16-bit counter.
The initial value is indeterminate.
Always read this register using 16-bit data transfer instructions.
● P0TMR, P1TMR structure
Address
0000 0174
H
0000 0178
H
Access
Initial value
■ 16-bit Reload Register (P0TMRLR, P1TMRLR)
The 16-bit reload register stores the initial count value.
The initial value is indeterminate.
Always write to this register using 16-bit data transfer instructions.
828
15
R
R
R
×
×
×
Figure 2-2 Structure of the 16-bit Counter Register
R
• • •
R
×
×
• • •
R
R
R
R
×
×
×
×
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents