mc68hc908sr12 Freescale Semiconductor, Inc, mc68hc908sr12 Datasheet - Page 325

no-image

mc68hc908sr12

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908sr12CB
Manufacturer:
TI/NSC
Quantity:
340
Part Number:
mc68hc908sr12CB
Manufacturer:
MOT
Quantity:
2 313
Part Number:
mc68hc908sr12CB
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Company:
Part Number:
mc68hc908sr12CB
Quantity:
1
Company:
Part Number:
mc68hc908sr12CB
Quantity:
7 840
Part Number:
mc68hc908sr12CFA
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
18.4.2 Data Direction Register B (DDRB)
MC68HC908SR12•MC68HC08SR12 — Rev. 5.0
Freescale Semiconductor
Address:
T2CH[1:0] — Timer 2 Channel I/O Bits
IRQ2 — External Interrupt Pin 2
Data direction register B determines whether each port B pin is an input
or an output. Writing a logic 1 to a DDRB bit enables the output buffer for
the corresponding port B pin; a logic 0 disables the output buffer.
Reset:
Read:
Write:
The T2CH1 and T2CH0 pins are the TIM2 input capture/output
compare pins. The edge/level select bits, ELSxB:ELSxA, determine
whether the PTB5/T2CH1 and PTB4/T2CH0 pins are timer channel
I/O pins or general-purpose I/O pins.See
Interface Module
IRQ2 pin is the second external interrupt input to the IRQ module.
When PTB6/IRQ2 is configured as an input by the data direction bit
bit, DDRB6, the pin is both a standard port input pin and an external
interrupt pin. See
PTB2/SDA1/TxD
PTB3/SCL1/RxD
$0005
Bit 7
Pin
0
0
Figure 18-7. Data Direction Register B (DDRB)
Table 18-3. PTB2 and PTB3 Pin Configurations
Input/Output (I/O) Ports
DDRB6
6
0
Section 19. External Interrupt
(TIM).
($0013)
ENSCI
DDRB5
Bit
0
0
0
1
5
0
DDRB4
($0049)
MMEN
4
0
Bit
X
0
1
1
DDRB3
SDASCL1
3
0
($0049)
Section 11. Timer
Bit
X
X
0
1
DDRB2
2
0
Input/Output (I/O) Ports
(IRQ).
SDA1, SCL1
PTB2, PTB3
PTB2, PTB3
Pin function
DDRB1
TxD, RxD
1
0
Data Sheet
DDRB0
Bit 0
Port B
0
325

Related parts for mc68hc908sr12