BH67F2260/BH67F2270
R-Sensor Blood Pressure Meter Flash MCU with LCD
On-Chip Debug Support – OCDS ..............................................................................................39
In Application Programming – IAP .............................................................................................39
Flash Memory Read/Write Procedure........................................................................................44
Data Memory ......................................................................................................47
Structure.....................................................................................................................................47
Data Memory Addressing...........................................................................................................48
General Purpose Data Memory .................................................................................................48
Special Purpose Data Memory ..................................................................................................48
Special Function Register Description............................................................51
Indirect Addressing Registers – IAR0, IAR1, IAR2 ....................................................................51
Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H..............................................................51
Program Memory Bank Pointer – PBP.......................................................................................53
Accumulator – ACC....................................................................................................................53
Program Counter Low Register – PCL.......................................................................................53
Look-up Table Registers – TBLP, TBHP, TBLH..........................................................................54
Status Register – STATUS.........................................................................................................54
EEPROM Data Memory......................................................................................56
EEPROM Data Memory Structure .............................................................................................56
EEPROM Registers ...................................................................................................................56
Reading Data from the EEPROM ..............................................................................................58
Writing Data to the EEPROM.....................................................................................................58
Write Protection..........................................................................................................................58
EEPROM Interrupt .....................................................................................................................58
Programming Considerations.....................................................................................................59
Oscillators ..........................................................................................................60
Oscillator Overview ....................................................................................................................60
System Clock Configurations.....................................................................................................60
External Crystal/Ceramic Oscillator – HXT ................................................................................61
Internal High Speed RC Oscillator – HIRC ................................................................................62
External 32.768kHz Crystal Oscillator – LXT.............................................................................62
Internal 32kHz Oscillator – LIRC................................................................................................63
Operating Modes and System Clocks .............................................................64
System Clocks ...........................................................................................................................64
System Operation Modes...........................................................................................................65
Control Registers .......................................................................................................................66
Operating Mode Switching.........................................................................................................68
Standby Current Considerations................................................................................................72
Wake-up.....................................................................................................................................72
Watchdog Timer.................................................................................................73
Watchdog Timer Clock Source...................................................................................................73
Watchdog Timer Control Register..............................................................................................73
Watchdog Timer Operation ........................................................................................................74
Rev. 1.00
3
March 15, 2017