XC68HC705F32 Motorola, XC68HC705F32 Datasheet - Page 51

no-image

XC68HC705F32

Manufacturer Part Number
XC68HC705F32
Description
MICROCONTROLLER
Manufacturer
Motorola
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
XC68HC705F32FU
Quantity:
110
4.8
The following sections explain in detail the individual bits in the data and control registers
associated with the ports.
4.8.1
Each bit of port A – port E can be configured as input or output via the corresponding data
direction bit in the port data direction register (DDRx).
Reset does not affect the state of the port A – port G data registers. However, port H, port I and
port J data registers are reset to 0.
4.8.2
Writing a ‘1’ to any bit configures the corresponding port pin as an output; conversely, writing any
bit to ‘0’ configures the corresponding port pin as an input.
Reset clears these registers, thus configuring all port pins as inputs.
MC68HC05F32
Port C data direction (DDRC)
Port D data direction (DDRD)
Port A data direction (DDRA)
Port B data direction (DDRB)
Port E data direction (DDRE)
Port C data (PORTC)
Port D data (PORTD)
Port G data (PORTG)
Port H data (PORTH)
Port B data (PORTB)
Port E data (PORTE)
Port A data (PORTA)
Port F data (PORTF)
Port J data (PORTJ)
Port I data (PORTI)
Port registers
Port data registers (Ports A, B, C, D, E, F, G, H, I and J)
Data direction registers (DDRA, DDRB, DDRC, DDRD and
DDRE)
Address
Address
$000A
PARALLEL INPUT/OUTPUT PORTS
$0000
$0001
$0002
$0003
$0012
$0014
$0010
$0018
$000B
$0016
$0004
$0005
$0006
$0007
PC7
PD7
PG7
PH7
PB7
PE7
PA7
PF7
PJ7
bit 7
bit 7
PI7
PC6
PD6
PG6
PH6
PB6
PE6
PA6
PF6
PJ6
bit 6
bit 6
PI6
PG5
PC5
PD5
PH5
PB5
PE5
PA5
PF5
PJ5
PI5
bit 5
bit 5
PG4
PC4
PD4
PH4
PB4
PE4
PA4
PF4
PJ4
PI4
bit 4
bit 4
PG3
PC3
PD3
PH3
PB3
PE3
PA3
PF3
PJ3
PI3
bit 3
bit 3
PG2
PC2
PD2
PH2
PE2
PA2
PB2
PF2
PJ2
PI2
bit 2
bit 2
PG1
PC1
PD1
PH1
PE1
PA1
PB1
PF1
PJ1
PI1
bit 1
bit 1
PG0
PC0
PD0
PH0
PE0
PA0
PB0
PF0
PJ0
PI0
bit 0
bit 0
MOTOROLA
undefined
0000 0000
undefined
undefined
undefined
undefined
undefined
undefined
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
on reset
on reset
State
State
TPG
4-7
4

Related parts for XC68HC705F32