Table 8-11. P2Ddrx Register; Table 8-12. P2Ddrx Register Definitions; Port B/D/F/H/L/N Data Direction Register - Sharp LH79524 User Manual

Table of Contents

Advertisement

LH79524/LH79525 User's Guide

8.2.2.4 Port B/D/F/H/L/N Data Direction Register

P2DDRx is the Data Direction Register. Bits in P2DDRx Register program the correspond-
ing Port pin to be either an input or an output. Port J has no P2DDRx.
BIT
FIELD
RESET
RW
BIT
FIELD
RESET
RW
ADDR
BITS
31:8
7:0

Table 8-11. P2DDRx Register

31
30
29
28
27
0
0
0
0
RO
RO
RO
RO
RO
15
14
13
12
11
///
0
0
0
0
RO
RO
RO
RO
RO

Table 8-12. P2DDRx Register Definitions

NAME
///
Reserved Writing to these bits has no effect. Reading returns 0.
Configures port pins as input or output.
PORT_DIRECTION
1 = Output
0 = Input
26
25
24
23
///
0
0
0
0
0
RO
RO
RO
RO
10
9
8
7
0
0
0
0
0
RO
RO
RO
RW
Port B: 0xFFFDF000 + 0x0C
Port D: 0xFFFDE000 + 0x0C
Port F: 0xFFFDD000 + 0x0C
Port H: 0xFFFDC000 + 0x0C
Port L: 0xFFFDA000 + 0x0C (LH79524 Only)
Port N: 0xFFFD9000 + 0x0C (LH79524 Only)
DESCRIPTION
Version 1.0
General Purpose Input/Output
22
21
20
19
18
0
0
0
0
0
RO
RO
RO
RO
RO
6
5
4
3
2
PORT_DIRECTION
0
0
0
0
0
RW
RW
RW
RW
RW
17
16
0
0
RO
RO
1
0
0
0
RW
RW
8-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lh79525

Table of Contents