參數(shù)資料
型號: MC68HC05L25PB
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP52
封裝: TQFP-52
文件頁數(shù): 112/152頁
文件大?。?/td> 897K
代理商: MC68HC05L25PB
Input/Output Ports (I/O)
MC68HC05L25 Data Sheet, Rev. 3.1
62
Freescale Semiconductor
7.3.1 Port B Data Register
Each port B I/O pin has a corresponding bit in the port B data register. When a port B pin is programmed
as an output, the state of the corresponding data register bit determines the state of the output pin. When
a port B pin is programmed as an input, any read of the port B data register will return the logic state of
the corresponding I/O pin. The port B data register is unaffected by reset.
7.3.2 Port B Data Direction Register
Each port B I/O pin can be programmed as an input by clearing the corresponding bit in the DDRB or
programmed as an output by setting the corresponding bit in the DDRB. The DDRB can be accessed at
address $0001 of the option map. The DDRB is cleared by reset.
7.3.3 Port B Pullup Register
Each port B pin may have a software programmable pullup device enabled by the RCR select bits RBH
and RBL. The pullup is activated whenever the corresponding bit in the RCR is set. Since reset clears the
RCR, all pins will initialize with the pullup devices disabled. See 7.5.6 Resistor Control Register 1.
NOTE
Do not turn on port B pullups when LCD is selected for corresponding port
pin.
7.3.4 Port B Wire-ORed Mode Register
Port B bits 0–7 configured for output pins may have software programmable wired-OR mode (open drain)
output enabled by the BWOMH and BWOML bits in the WOMR. Since reset clears the WOMR, the
wired-OR mode becomes disabled on reset. See 7.5.8 Open Drain Output Control Register.
Address:
$0001
Bit 7
654321
Bit 0
Read:
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
Write:
Reset:
Unaffected by Reset
Figure 7-11. Port B Data Register (PORTB)
Address:
Option — $0001
Bit 7
654321
Bit 0
Read:
DDRB7
DDRB6
DDRB5
DDRB4
DDRB3
DDRB2
DDRB1
DDRB0
Write:
Reset:
Unaffected by Reset
Figure 7-12. Port B Data Direction Register (DDRB)
相關(guān)PDF資料
PDF描述
MC68HC05LJ5P 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP16
MC68HC05M4CFN 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC52
MC68HC05M4MFN 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC52
MC68HC05P1ADWR2 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HSC05P1ADWR2 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO28
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05L28 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
MC68HC05L28B 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Flexible general-purpose microcomputer
MC68HC05L2B 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
MC68HC05L2CB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
MC68HC05L6 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:8-Bit Microcomputer with Liquid Crystal Driver Circuitry