mc68hc908ld64 Freescale Semiconductor, Inc, mc68hc908ld64 Datasheet - Page 300

no-image

mc68hc908ld64

Manufacturer Part Number
mc68hc908ld64
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Input/Output (I/O) Ports
19.4 Port B
19.4.1 Port B Data Register
Data Sheet
300
Alternative Function:
Address:
Port B is an 8-bit special-function port that shares all eight of its pins with
the pulse width modulator (PWM). (See
Modulator
The port B data register (PTB) contains a data latch for each of the eight
port pins.
PTB[7:0] — Port B Data Bits
PWM[7:0] — PWM Outputs Pins
Reset:
Read:
Write:
These read/write bits are software-programmable. Data direction of
each port B pin is under the control of the corresponding bit in data
direction register B. Reset has no effect on port B data.
The PWM output enable bits PWM7E–PWM0E, in the PWM control
register (PWMCR) enable port B pins as PWM output pins. (See
19.4.3 Port B Options
(PWM).)
PWM7
$0001
PTB7
Bit 7
Figure 19-6. Port B Data Register (PTB)
(PWM).)
Input/Output (I/O) Ports
PWM6
PTB6
6
PWM5
PTB5
5
and
Section 12. Pulse Width Modulator
Unaffected by reset
PWM4
PTB4
4
Section 12. Pulse Width
PWM3
PTB3
3
MC68HC908LD64
PWM2
PTB2
Freescale Semiconductor
2
PWM1
PTB1
1
Rev. 3.0
PWM0
PTB0
Bit 0

Related parts for mc68hc908ld64