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
External Trigger IX - 71
When detecting the rising edge of the external input pin (TM8AIO), the TM8BC counter counts up. When the
TM8BC counter matches the TM8CA register, the timer stops at the rising edge of the next count clock. The value
of theTM8BC counter is initialized to 0x0000.
When detecting the rising edge of the external input pin (TM8AIO) again, the TM8BC counter restarts to count
up.
(10) Set the output pin (I/O function)
P3DIR(0x0000A023)
bp0: P36D=0
(10) Set the P36D flag of the port 3 I/O control register
(P3MD) to “0” to set the I/O control to the input pin.
(11) Initialize the timer 8
TM8MD(0x0000A200)
bp6: TMLDE=1
(11) Set the TMLDE flag of the TM8MD register to “1” to
initialize the timer 8. The value of the compare register
buffer is loaded into the TM8CA register. Reset the
TMLDE flag to “0” after setting.
Setup Procedure Description

Table of Contents

Other manuals for Panasonic MN103S

Related product manuals