参数资料
型号: MC68HC05F4CP
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 1.789 MHz, MICROCONTROLLER, PDIP28
封装: PLASTIC, DIP-28
文件页数: 70/130页
文件大小: 2089K
代理商: MC68HC05F4CP
MOTOROLA
4-6
MC68HC05F4
PARALLEL INPUT/OUTPUT PORTS
4
4.6
Port registers
The following sections explain in detail the individual bits in the data and control registers
associated with the ports.
4.6.1
Port data registers (Ports A, B, C and D)
Each bit of port A – port D can be congured as input or output via the corresponding data
direction bit in the port data direction register (DDRx).
Reset does not affect the state of the port A – port D data registers.
4.6.2
Data direction registers (DDRA, DDRB, DDRC and DDRD)
Writing a ‘1’ to any bit congures the corresponding port pin as an output; conversely, writing any
bit to ‘0’ congures the corresponding port pin as an input.
Reset clears these registers, thus conguring all port pins as inputs.
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Port A data (PORTA)
$0000
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PA0
undened
Port B data (PORTB)
$0001
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
undened
Port C data (PORTC)
$0002
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
undened
Port D data (PORTD)
$0003
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
undened
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Port A data direction (DDRA)
$0004
0000 0000
Port B data direction (DDRB)
$0005
0000 0000
Port C data direction (DDRC)
$0006
0000 0000
Port D data direction (DDRD)
$0007
0000 0000
TPG
40
05F4Book Page 6 Tuesday, August 5, 1997 1:10 pm
相关PDF资料
PDF描述
MK2731-04S 36.864 MHz, VIDEO CLOCK GENERATOR, PDSO16
MC68HC11F1CFN4R2 8-BIT, EEPROM, 4 MHz, MICROCONTROLLER, PQCC68
MC68HC11KS1CFN3 8-BIT, MROM, 3 MHz, MICROCONTROLLER, PQCC68
MB90F548GPF 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP100
MPD78C11AGQA-XXX-36 8-BIT, MROM, 15 MHz, MICROCONTROLLER, PZIP64
相关代理商/技术参数
参数描述
MC68HC05F5 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05F6 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:MCU with DTMF/melody generator
MC68HC05F6P 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
MC68HC05F8 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor(HCMOS) microcontroller unit
MC68HC05J1 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:HCMOS MICROCONTROLLER UNIT