|
MC68HC908BD48 Datasheet, PDF (233/290 Pages) Freescale Semiconductor, Inc – Microcontrollers | |||
|
◁ |
17.3 Port A
Input/Output (I/O) Ports
Port A
Port A is an 8-bit special-function port that shares all eight of its pins with
the pulse width modulator (PWM).
17.3.1 Port A Data Register
The port A data register (PTA) contains a data latch for each of the eight
port A pins.
Address: $0000
Bit 7
6
5
4
3
2
1
Read:
PTA7
Write:
PTA6
PTA5
PTA4
PTA3
PTA2
PTA1
Reset:
Unaffected by reset
Alternate
Function:
PWM15
PWM14
PWM13
PWM12 PWM11 PWM10
PWM9
Figure 17-1. Port A Data Register (PTA)
Bit 0
PTA0
PWM8
PTA7âPTA0 â Port A Data Bits
These read/write bits are software programmable. Data direction of
each port A pin is under the control of the corresponding bit in data
direction register A. Reset has no effect on port A data.
PWM15âPWM8 â PWM Outputs 15â8
The PWM output enable bits PWM15EâPWM8E, in PWM control
register 2 (PWMCR2) enable port A pins as PWM output pins. (See
17.3.3 Port A Options.)
MC68HC908BD48 â Rev. 1.0
MOTOROLA
Input/Output (I/O) Ports
Technical Data
233
|
▷ |