EasyManua.ls Logo

Panasonic MN103S

Panasonic MN103S
552 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
Input Capture IX - 63
9.9 Input Capture
9.9.1 Input Capture Operation
Input capture function reads the value of the binary counter into the compare/capture register at the trigger set by
the external input signal (both edge, rising edge, falling edge).
Setting Input Capture
Set the TMACE flag of the timer compare/capture mode register to “1” to enable capture operation. Select
whether to capture at the both edge or single edge of the input signal by the TMAM1-0 flag. If the single edge is
selected, select the falling edge or rising edge by the TMAEG flag.
Setting Input Pin
Table: 9.9.1 shows the pins which can use input capture operation.
Table:9.9.1 TImer and Input Capture Input Pin
When pins are used as input capture operation, the settings of the registers in the following table are necessary.
Table:9.9.2 Setting Input Pin
Count TIming of Input Capture
Table: 9.9.1 shows the timing that the value of the binary counter is read into the compare/capture register at the
both edge of the input signal.
Timer 8 Timer 9 Timer 10 Timer 11 Timer 12 Timer 13
Input pin TM8AIO
TM8BIO
TM9AIO
TM9BIO
TM10AIO
TM10BIO
TM11IO0
TM11IO1
--
Port output mode register Port I/O control register
TM8AIO P3MD(P36M) P3DIR(P36D)
TM8BIO P3MD(P37M) P3DIR(P37D)
TM9AIO P4MD(P42M) P4DIR(P42D)
TM9BIO P4MD(P43M) P4DIR(P43D)
TM10AIO P4MD(P46M) P4DIR(P46D)
TM10BIO P4MD(P47M) P4DIR(P47D)
TM11IO0 P7MD(P72M) P7DIR(P72D)
TM11IO1 P7MD(P73M) P7DIR(P73D)

Table of Contents

Other manuals for Panasonic MN103S

Related product manuals