EasyManua.ls Logo

Sharp LH79524 - Port A;C;E;G;I;K Data Direction Register (P1 Ddrx); Table 8-10. P1 Ddrx Fields; Table 8-9. P1 Ddrx Register

Sharp LH79524
555 pages
Print Icon
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...
General Purpose Input/Output LH79524/LH79525 User’s Guide
8-10 Version 1.0
8.2.2.3 Port A/C/E/G/I/K Data Direction Register (P1DDRx)
P1DDRx is the Data Direction Register. Bits in P1DDR Register program the correspond-
ing Port pin to be either an input or an output. Port K, and Port M bits 7 and 6 are only in
the LH79524.
Table 8-9. P1DDRx Register
BIT 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIELD ///
RESET 0000000000000000
RW RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO
BIT 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIELD /// PORT_DIRECTION
RESET 0000000000000000
RW RO RO RO RO RO RO RO RO RW RW RW RW RW RW RW RW
ADDR
Port A: 0xFFFDF000 + 0x08
Port C: 0xFFFDE000 + 0x08
Port E: 0xFFFDD000 + 0x08
Port G: 0xFFFDC000 + 0x08
Port I: 0xFFFDB000 + 0x08
Port K: 0xFFFDA000 + 0x08 (LH79524 Only)
Port M: 0xFFFD9000 + 0x08 (Bits 7 and 6 LH79524 Only)
Table 8-10. P1DDRx Fields
BITS NAME DESCRIPTION
31:8 /// Reserved Writing to these bits has no effect. Reading returns 0.
7:0 PORT_DIRECTION
Port Data Direction Configures port pins as input or output.
1 = Output
0 = Input
(Port M is output only and must programmed to 1 for use)

Table of Contents

Related product manuals