NEC mPD784225 Series User Manual page 145

16-/8-bit single-chip microcontrollers
Table of Contents

Advertisement

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.
CHAPTER 6 REAL-TIME OUTPUT FUNCTIONS
User's Manual U12697EJ3V0UM
145

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd784225y seriesMpd784224Mpd784225Mpd78f4225Mpd784224yMpd784225y ... Show all

Table of Contents