16-Bit Timer Pulse Output; Operation - Panasonic MN101L Series User Manual

Lsi
Table of Contents

Advertisement

9.5 16-bit Timer Pulse Output

9.5.1

Operation

16-bit Timer Pulse Output Operation
In the timer pulse output function, a pulse signal with an arbitrary frequency can be output from TMnIO pin.
Timers can output the signal with twice the cycle which is set in TMnOC1 or twice the cycle of the 16-bit full
count.
The pulse output pin is shown in Table:9.1.1.
Table:9.5.1 shows register settings that control timer interrupt generation sources and timer pulse output cycles.
Table:9.5.1 16-bit Timer Interrupt Generation Source and Timer Pulse Output Cycle
TMnMD2
TMnIRS1
1
0
1
0
Count Timing of 16-bit Timer Pulse Output
Count
clock
TMnEN
bit
Compare
register
Binary
0000 0001
counter
Interrupt
request
TMnIO output
TMnBCR
1
TMnOC1 compare match
1
TMnOC1 compare match
0
TMnOC1 compare match
0
Full count overflow
N-1
N
0000 0001
Figure:9.5.1 Count Timing of 16-bit Timer Pulse Output
Interrupt source
N
N-1
N
Timer pulse output cycle
Twice the value of TMnOC1
Twice the value of TMnOC1
Twice the TMnBC full count
Twice the TMnBC full count
0000 0001
N-1
16-bit Timer Pulse Output
Chapter 9
16-bit Timer
N
0000
IX - 29

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn101lr05dMn101lr04dMn101lr03dMn101lr02d

Table of Contents