Page iv
MOTOROLA
MC68HC05C5 Specification Release 1.2
4.3.3
EXTENDED ........................................................................ 21
4.3.4
RELATIVE........................................................................... 21
4.3.5
INDEXED, NO OFFSET ..................................................... 22
4.3.6
INDEXED, 8-BIT OFFSET .................................................. 22
4.3.7
INDEXED, 16-BIT OFFSET ................................................ 22
4.3.8
BIT SET/CLEAR ................................................................. 22
4.3.9
BIT TEST AND BRANCH ................................................... 22
4.3.10
INHERENT.......................................................................... 23
4.4
RESETS ................................................................................... 23
4.4.1
POWER-ON RESET (POR)................................................ 23
4.4.2
RESET PIN ......................................................................... 24
4.4.3
COMPUTER OPERATING PROPERLY (COP) RESET..... 24
4.5
INTERRUPTS .......................................................................... 24
4.5.1
HARDWARE CONTROLLED INTERRUPT SEQUENCE... 25
4.5.2
SOFTWARE INTERRUPT (SWI) ........................................ 25
4.5.3
EXTERNAL INTERRUPT ................................................... 25
4.5.4
TIMER INTERRUPT ........................................................... 26
4.6
LOW-POWER MODES ............................................................ 28
4.6.1
STOP .................................................................................. 28
4.6.2
WAIT ................................................................................... 29
SECTION 5
INPUT/OUTPUT PORTS ................................................31
5.1
PORT A .................................................................................... 31
5.2
PORT B .................................................................................... 31
5.3
PORT C .................................................................................... 31
5.4
PORT D .................................................................................... 31
5.5
INPUT/OUTPUT PROGRAMMING .......................................... 32
SECTION 6
TIMER.............................................................................33
6.1
INTRODUCTION ...................................................................... 33
6.2
COUNTER................................................................................ 34
6.3
OUTPUT COMPARE REGISTER ............................................ 34
6.4
INPUT CAPTURE REGISTER ................................................. 35
6.5
TIMER CONTROL REGISTER (TCR) $12............................... 35
6.6
TIMER STATUS REGISTER (TSR) $13 .................................. 37
6.7
TIMER DURING WAIT MODE ................................................. 38
6.8
TIMER DURING STOP MODE................................................. 38
SECTION 7
SIMPLE SERIAL INPUT/OUTPUT PORT......................39
7.1
SIGNAL FORMAT .................................................................... 39
7.1.1
SCK..................................................................................... 39
7.1.2
SDO .................................................................................... 39
7.1.3
SDI ...................................................................................... 40
7.2
SIOP REGISTERS ................................................................... 40
7.2.1
SIOP CONTROL REGISTER (SCR)................................... 40
7.2.2
SIOP STATUS REGISTER (SSR) ...................................... 42
7.2.3
SIOP DATA REGISTER (SDR)........................................... 42