Renesas M32R/ECU Series User Manual page 195

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

8
(1) To know whether XIN oscillation has ever stopped after being reset
(2) To know the current status of XIN oscillation
Figure 8.3.1 Procedure for Setting XSTAT
(2) PISEL (Port input data select) bit (Bit 14)
When the Port Direction Register is set for output, this bit selects the target data to be read from the Port Data
Register. This bit is unaffected by the Port Operation Mode Register.
Table 8.3.1 PISEL Bit Settings and the Target Data To Be Read from the Port Data Register
Direction Register
0 (input)
1 (output)
INPUT/OUTPUT PORTS AND PIN FUNCTIONS
Read XSTAT
Write XSTAT = 0
Wait for 20 CPU
clock periods or more
Read XSTAT
PISEL Settings
0/1
0
1
8-22
8.3 Input/Output Port Related Registers
Wait before inspecting XSTAT
Target Data to Be Read
Port pin level
Port output latch
Port pin level
32180 Group User's Manual (Rev.1.0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents