mc68hc908bd48 Freescale Semiconductor, Inc, mc68hc908bd48 Datasheet - Page 235

no-image

mc68hc908bd48

Manufacturer Part Number
mc68hc908bd48
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908bd48IB
Manufacturer:
MOTOROLA
Quantity:
42
Part Number:
mc68hc908bd48IB
Manufacturer:
freescaie
Quantity:
109
Part Number:
mc68hc908bd48IFB
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
17.3.3 Port A Options
MC68HC908BD48
Freescale Semiconductor
PTAPUE Bit
NOTES:
1. X = Don’t care
2. Hi-Z = High impedance
3. Writing affects data register, but does not affect input.
X
0
DDRA Bit
Rev. 2.1
0
1
Address:
When bit DDRAx is a logic 1, reading address $0000 reads the PTAx
data latch. When bit DDRAx is a logic 0, reading address $0000 reads
the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit.
the operation of the port A pins.
The PWM control register 2 (PWMCR2) selects the port A pins for PWM
function or as standard I/O function. See
Registers 1 and 2
PWM15E–PWM8E — PWM Output Enable 15–8
Reset:
Read:
Write:
Setting a bit to "1" will configure the corresponding PTAx/PWMx pin
for PWM output function. Reset clears these bits.
PTA Bit
X
1 = PTAx/PWMx pin configured as PWMx output pin
0 = PTAx/PWMx pin configured as standard I/O pin
X
(1)
Table 17-3. Port A Pin Functions
PWM15E PWM14E PWM13E PWM12E PWM11E PWM10E
$0059
Bit 7
Figure 17-4. PWM Control Register 1 (PWMCR1)
0
I/O Pin Mode
Input, Hi-Z
Input/Output (I/O) Ports
Output
6
0
(PWMCR1:PWMCR2).
(2)
5
0
DDRA7–DDRA0
DDRA7–DDRA0
Read/Write
Accesses
to DDRA
4
0
11.4.2 PWM Control
3
0
PTA7–PTA0
Table 17-3
Read
Pin
Accesses to PTA
2
0
Input/Output (I/O) Ports
PWM9E
PTA7–PTA0
summarizes
1
0
PTA7–PTA0
Write
Data Sheet
PWM8E
Bit 0
0
(3)
235

Related parts for mc68hc908bd48