145
CHAPTER 6 REAL-TIME OUTPUT FUNCTIONS
User’s Manual U12697EJ3V0UM
6.5 Using This Function
(1) Disabling the real-time output operation
Set bit 7 (RTPOE) = 0 in the real-time output port control register (RTPC).
(2) Initial settings
• Set 0 in the output latch (since the output latch and real-time output are configured as a logical AND).
• Set the port to output mode.
• Set the initial value in the real-time output buffer registers (RTBH, RTBL).
(3) Enable real-time output operation.
RTPOE = 1
(4) After generating the selected transfer trigger, the RTBH and RTBL values are output from the pin. Set the next
real-time output value in RTBH and RTBL by using trigger interrupt servicing, or some other means.
(5) Subsequently, the next real-time output values are sequentially set in RTBH and RTBL by the interrupt servicing
for the selected trigger.
6.6 Cautions
For the initial setting, set bit 7 (RTPOE) in the real-time output port control register (RTPC) to 0 to disable the real-
time output operation.