EasyManua.ls Logo

Panasonic MN101L Series

Panasonic MN101L Series
563 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 9
16-bit Timer
IX - 26 16-bit Event Count
..
When reading the value of TMnBC, use a 16-bit instruction, MOVW or write data to TMnIC
with a software function.
When using the MOVW instruction, indeterminate data during counting may be read. So,
read the register value several times and confirm those data are identical.
When using the capture function, Writing to TMnIC can capture the count value of TMnBC to
TMnIC to read the count value during counting precisely.
For more information, refer to [9.8.1 Operation].
..
..
When using TMnIO input, be sure to set each mode register and preset register after select-
ing SYSCLK as a count clock source. Then, select TMnIO input to start a timer. As for the 16-
bit timer, only when using TMnIO input, it is possible to return from STOP/HALT2/HALT3
mode.
..
..
When using the event input (TMnIO input), clear TMnBC before starting the timer operation.
..
..
In the event count, the internal enable signal becomes ON status at the falling edge of the
first count clock after the TMnMD1.TMnEN is set to "1". When it is assumed that the setting
value of compare register is N, the first interrupt is generated at the falling edge of (N+2)th
count clock. The following interrupts are generated at the falling edge of (N+1)th count clock.
..

Table of Contents

Related product manuals