Contents
Contents
1
General Description ................................................................................................ 1
Features ...................................................................................................................1
2.1 Core..................................................................................................................1
2.2 Oscillators/System Clocks ................................................................................2
2.3 Input and Output (I/O) Pins ...............................................................................2
2.4 Timers and Counters ........................................................................................2
2.5 Interrupt Sources and Features ........................................................................2
2.6 Baseband (BB) .................................................................................................3
2.7 Serial Peripheral Interface (SPI) .......................................................................3
2.8 Pulse Width Modulation (PWM) ........................................................................3
2.9 Analog to Digital Converter (ADC) ....................................................................3
Pins Assignment .....................................................................................................4
Pin Description........................................................................................................ 6
Block Diagram ......................................................................................................... 9
Memory .................................................................................................................. 10
6.1 Program Memory............................................................................................10
6.2 RAM–Register ................................................................................................ 11
Function Description............................................................................................. 25
2
3
4
5
6
7
7.1 Special Purpose Registers..............................................................................25
7.1.1 Accumulator – ACC.........................................................................................25
7.1.2 Indirect Addressing Contents – IAC0 and IAC1...............................................25
7.1.3 High Byte Program Counter HPC and Low Byte Program Counter LPC .........25
7.1.4 Status Register – SR.......................................................................................26
7.1.5 RAM Bank Selector – RAMBS0 and RAMBS1................................................26
7.1.6 ROM Page Selector – ROMPS .......................................................................27
7.1.7 Indirect Addressing Pointers – IAP0 and IAP1 ................................................27
7.1.8 Indirect Address Pointer Direction Control Register – IAPDR..........................27
7.1.9 Table Look-up Pointer – LTBL and HTBL ........................................................28
7.1.10 Stack Pointer – STKPTR.................................................................................28
7.1.11 Repeat Counter – RPTC .................................................................................28
7.1.12 Prescaler Counter – PRC................................................................................28
7.1.13 Real Time Clock Counter – RTCC...................................................................28
7.1.14 Interrupt Flag Register – INTF.........................................................................28
7.1.15 Key Wake-up Flag Register – KWUAIF & KWUBIF.........................................29
7.1.16 I/O Port Registers – PTA ~ PTF.......................................................................29
7.1.17 16-bit Free Run Counter (FRC) – LFRC HFRC & LFRCB...............................29
7.1.18 Serial Peripheral Interface Read Register – SPIRB.........................................29
7.1.19 Serial Peripheral Interface Write Register – SPIWB ........................................29
Product Specification (V1.0) 10.09.2007
• iii