MOTOROLA
ii
MC68HC05X16
Rev. 1
TABLE OF CONTENTS
Paragraph
Number
Page
Number
TITLE
2.3.12
2.3.12.1
2.3.12.2
2.3.12.3
2.3.12.4
2.3.13
2.3.14
2.3.15
2.3.16
2.3.17
2.3.18
2.3.19
2.3.20
2.3.21
2.3.22
2.3.23
2.3.24
2.3.25
OSC1, OSC2................................................................................................... 2-13
Crystal........................................................................................................ 2-13
Ceramic resonator ..................................................................................... 2-13
External clock............................................................................................. 2-13
Oscillator division....................................................................................... 2-15
PLMA............................................................................................................... 2-15
PLMB............................................................................................................... 2-15
VPP1 ............................................................................................................... 2-16
VRH................................................................................................................. 2-16
VRL.................................................................................................................. 2-16
PA0 – PA7/PB0 – PB7/PC0 – PC7 .................................................................. 2-16
NWOI............................................................................................................... 2-16
PD0/AN0–PD7/AN7......................................................................................... 2-16
VDD1............................................................................................................... 2-17
VSS1 ............................................................................................................... 2-17
VDDH .............................................................................................................. 2-17
RX0/RX1.......................................................................................................... 2-17
TX0/TX1 .......................................................................................................... 2-17
3
MEMORY AND REGISTERS
3.1
3.2
3.3
3.4
3.5
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3.6
3.7
3.8
Registers............................................................................................................... 3-1
RAM ...................................................................................................................... 3-1
ROM...................................................................................................................... 3-1
Bootstrap ROM...................................................................................................... 3-3
EEPROM............................................................................................................... 3-4
EEPROM control register ................................................................................ 3-4
EEPROM read operation................................................................................. 3-6
EEPROM erase operation............................................................................... 3-6
EEPROM programming operation................................................................... 3-7
Options register (OPTR).................................................................................. 3-7
EEPROM during STOP mode............................................................................... 3-8
EEPROM during WAIT mode................................................................................ 3-8
Miscellaneous register.......................................................................................... 3-11
4
INPUT/OUTPUT PORTS
4.1
4.2
4.3
4.4
4.5
Input/output programming ..................................................................................... 4-1
Ports A and B........................................................................................................ 4-2
Port C.................................................................................................................... 4-3
Port D.................................................................................................................... 4-4
Port registers......................................................................................................... 4-4