mc68hc908bd48 Freescale Semiconductor, Inc, mc68hc908bd48 Datasheet - Page 238

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
Input/Output (I/O) Ports
17.4.3 Port B Options
Data Sheet
238
DDRB Bit
Notes:
1. X = Don’t care
2. Hi-Z = High impedance
3. Writing affects data register, but does not affect input.
0
1
PTB Bit
X
X
(1)
Address:
When bit DDRBx is a logic 1, reading address $0001 reads the PTBx
data latch. When bit DDRBx is a logic 0, reading address $0001 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 B pins.
The PWM control register 1 (PWMCR1) selects the port B pins for PWM
function or as standard I/O function. See
Registers 1 and 2
PWM7E–PWM0E — PWM Output Enable 7–0
Reset:
Read:
Write:
Setting a bit to "1" will configure the corresponding PTBx/PWMx pin
for PWM output function. Reset clears these bits.
I/O Pin Mode
Input, Hi-Z
1 = PTBx/PWMx pin configured as PWMx output pin
0 = PTBx/PWMx pin configured as standard I/O pin
Output
Table 17-4. Port B Pin Functions
PWM7E
$0028
Bit 7
Figure 17-8. PWM Control Register 1 (PWMCR1)
0
(2)
Input/Output (I/O) Ports
PWM6E
6
0
(PWMCR1:PWMCR2).
DDRB7–DDRB0
DDRB7–DDRB0
Read/Write
Accesses
to DDRB
PWM5E
5
0
PWM4E
4
0
PWM3E
PTB7–PTB0
11.4.2 PWM Control
3
0
Read
Pin
Table 17-4
MC68HC908BD48
Accesses to PTB
PWM2E
Freescale Semiconductor
2
0
PTB7–PTB0
PWM1E
PTB7–PTB0
summarizes
1
0
Write
PWM0E
Rev. 2.1
Bit 0
(3)
0

Related parts for mc68hc908bd48