Register Name: PD1
Register Description: Port 1 Direction Register
Register Address: M0[11h]
Each of the bits in this register controls the input/output direction of a port pin (P1.0 to P1.7), as follows.
0 = The port pin is in input mode, either with a weak pullup (if PO = 1) or tri-stated (if PO = 0).
1 = The port pin is in output mode, with the output level to drive given by PO.
Register Name: PD2
Register Description: Port 2 Direction Register
Register Address: M0[12h]
Each of the bits in this register controls the input/output direction of a port pin (P2.0 to P2.7), as follows.
0 = The port pin is in input mode, either with a weak pullup (if PO = 1) or tri-stated (if PO = 0).
1 = The port pin is in output mode, with the output level to drive given by PO.
Register Name: PD3
Register Description: Port 3 Direction Register
Register Address: M0[13h]
Each of the bits in this register controls the input/output direction of a port pin (P3.0 to P3.7), as follows.
0 = The port pin is in input mode, either with a weak pullup (if PO = 1) or tri-stated (if PO = 0).
1 = The port pin is in output mode, with the output level to drive given by PO.
MAXQ Family User’s Guide:
MAXQ2000 Supplement
Comentarios a estos manuales