mc68hc908rk2 Freescale Semiconductor, Inc, mc68hc908rk2 Datasheet - Page 8

no-image

mc68hc908rk2

Manufacturer Part Number
mc68hc908rk2
Description
Hcmos Microcontroller Unit
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Table of Contents
Advance Information
8
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10
4.11
4.11.1
4.11.2
4.11.3
4.11.4
4.11.5
4.12
4.12.1
4.12.2
5.1
5.2
5.3
5.4
5.4.1
5.4.2
5.4.3
5.4.4
5.4.5
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
FLASH 2TS Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . 45
FLASH 2TS Charge Pump Frequency Control. . . . . . . . . . . . . 47
FLASH 2TS Erase Operation . . . . . . . . . . . . . . . . . . . . . . . . . . 47
FLASH 2TS Program/Margin Read Operation . . . . . . . . . . . . . 48
FLASH 2TS Block Protection . . . . . . . . . . . . . . . . . . . . . . . . . . 51
FLASH 2TS Block Protect Register . . . . . . . . . . . . . . . . . . . . . 52
Embedded Program/Erase Routines . . . . . . . . . . . . . . . . . . . . 53
Embedded Function Descriptions. . . . . . . . . . . . . . . . . . . . . . . 54
Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
CPU Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
RDVRRNG Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
PRGRNGE Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
ERARNGE Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
REDPROG Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Example Routine Calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
Accumulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Index Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Stack Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Program Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Condition Code Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Section 5. Central Processor Unit (CPU)
Table of Contents
Section 4. FLASH 2TS Memory
MC68HC908RK2 — Rev. 4.0
MOTOROLA

Related parts for mc68hc908rk2