Event Count; Event Count Operation - Panasonic MN103S User Manual

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

9.5 Event Count

9.5.1

Event Count Operation

Event count operation is to count the edge selected by the TMnBIN pin as a count clock. Also, it can mask (stop
counting) the count clock by the TMnAIN pin.
Event Count Operation
When the TMnBIN pin is selected to a clock source, the event counter operates. The event count operation means
that the binary counter (TMnBC) counts up (or count down) the external signal input to the TMnIO pin as a count
clock
Event Count Input Pin
Table: 9.5.1 shows event count input pins.
Table:9.5.1 Event Count Input Pin
Timer 8
Input pin
TM8BIO
When pins are used as event count input, the settings of the following registers are necessary.
Table:9.5.2 Setting Input Pin
TM8BIO
TM9BIO
TM10BIO
TM11IO1
The settings of the following registers are necessary for the count edges of event input pins.
When the count edge is single edge, the setting of the TMBEG flag of the timer compare/capture B mode register
is necessary.
Table:9.5.3 Setting Count Edge of Event Input Pin
Timer mode register
TM8BIO
TM8MD(TMCK2 to 0)
TM9BIO
TM9MD(TMCK2 to 0)
TM10BIO
TM10MD(TMCK2 to 0)
TM11IO1
TM11MD(TMCK2 to 0)
Timer 9
Timer 10
TM9BIO
TM10BIO
Port output mode register
P3MD(P37M)
P4MD(P43M)
P4MD(P47M)
P7MD(P73M)
Timer 11
Timer 12
TM11IO1
-
Port I/O control register
P3DIR(P37D)
P4DIR(P43D)
P4DIR(P47D)
P7DIR(P73D)
Timer compare/capture B mode register
TM8MDB(TMBEG)
TM9MDB(TMBEG)
TM10MDB(TMBEG)
TM11MDB(TMBEG)
Timer 13
-
Event Count
Chapter 9
16-bit Timer
IX - 43

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents