參數(shù)資料
型號(hào): MC68HC05L25PB
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP52
封裝: TQFP-52
文件頁數(shù): 114/152頁
文件大?。?/td> 897K
代理商: MC68HC05L25PB
Input/Output Ports (I/O)
MC68HC05L25 Data Sheet, Rev. 3.1
64
Freescale Semiconductor
7.4 Port C
Port C is a 4-bit I/O port which shares its pins with external interrupt IRQ and the serial peripheral interface
(SPI) system as shown in Figure 7-13 through Figure 7-16. Each port C pin is controlled by the
corresponding bits in a wired-OR mode register and a pullup register. The port C data register is located
at address $0002. The port C pullup register (RCR) is located at address $0009 of the option map. The
wired-OR mode register (WOMR) is located at address $000A of the option map. Reset clears the RCR
and the WOMR.
The PC0–PC2 pins are shared with the serial peripheral interface (SPI). When the SPI is enabled (SPE
= 1), the pins PC0, PC1, and PC2 are configured as serial clock output or input (SCK), serial data output
(SDO), and serial data input (SDI) pins, respectively. The direction of the SCK depends on the MSTR bit
in the SPCR. When PORTC is read, the pin state is read. See Table 7-9 through Table 7-10. The SCK
pin should be at the VDD level before the SPI is enabled.
The PC3 pin is shared with the external interrupt IRQ pin. The IRQ pin has a Schmitt trigger to improve
noise immunity. The PC3 pin state can be read any time regardless of the IRQ configurations.
Port C bits 2 and 3, when configured as output ports, are open drain outputs.
Figure 7-13. Port PC0/SCK Circuitry
WRITE OPTN: $000A
R PULLUP
OPEN DRAIN
REGISTER BIT
READ OPTN: $000A
WRITE OPTN: $0009
PULLUP
REGISTER BIT
READ OPTN: $0009
OUTPUT
SPI
SYSTEM
SCK OUT
MSTR
SCK IN
PULLUP
LOGIC
READ $0002
READ OPTN: $0002
DATA
REGISTER BIT
I/O
PIN
OUTPUT
INTERNAL HC05
DATA BUS
RESET
(RST)
WRITE OPTN: $0002
DATA DIRECTION
REGISTER BIT
WRITE $0002
相關(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