3 CPU Core Information
13
CW6632B Bluetooth 3.0 Audio Player SOC
Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
Interrupt
Sources
Interrupt
Vector
Interrupt
Number
Natural
Order
Interrupt Flag
Interrupt
Enable Bit
Priority
Control Bit
0x805B
Timer 0
0x0063
0x4063
0x8063
12
13
TMR0CON.7
IIS_CON2.3&IIS_CON2.1
IE1.5
IPH1.5
IP1.5
RTCC
UART0
WDT
LVD
IIS
0x006B
0x406B
0x806B
13
14
RTCON.7
UARTSTA.5&UARTSTA.4
IP0.7
LVDCON.7
IIS_CON2.3&IIS_CON2.2&
IIS_CON2.1&IIS_CON2.0
IE1.6
IPH1.6
IP1.6
SPI1
0x0073
0x4073
0x8073
14
15
SPI1CON.7
IE1.7
IPH1.7
IP1.7
3.4.2
Interrupt Priority
There are 4 levels of interrupt priority: Level 3 to 0. All interrupts have individual priority bits in the interrupt priority
registers to allow each interrupt to be assigned a priority level from 3 to 0. All interrupts also have a natural hierarchy.
In this manner, when a set of interrupts has been assigned the same priority, a second hierarchy determines which
interrupt is allowed to take precedence. The natural hierarchy is determined by analyzing potential interrupts in a
sequential manner with the order listed in
The processor indicates that an interrupt condition occurred by setting the respective flag bit. This bit is set
regardless of whether the interrupt is enabled or disabled.
3.5
Special Function Register Mapping (SFR)
Table 3-3 Special function registers naming and address
0
1
2
3
4
5
6
7
0x80
P0
SP
DPL0
DPH0
DPL1
DPH1
DPCON
PCON0
0x88
SDCON0
SDCON1
SDCON2
MEMCON
ATDAT
ERABYT0
/
ERABYT1
0x90
P1
BFBYTEPTRL
BFBYTEPTRH
BFDATAL
BFDATAH
BFBITPTR
BFCON
PCON3
0x98
PWKEN
PWKEDGE
PIE0
SPH
PCON1
ISDCHSUM
IRTCDAT
IRTCON
0XA0
P2
IIS_CON2
SPI1CON
SPI1BUF
ATADR
SPI1DMACNT
SPI1DMASP
IRCON0
0XA8
IE0
IE1
SPI1DMACNTL
IUBPCON
HFMCON1
IRCON1
AGCCON2
SPMODE
0XB0
P3
SQRT_DATA0
SQRT_DATA1
SQRT_DATA2
ERABYT2
ERABYT3
EMIBUF
PLLCON
0XB8
IP0
IP1
P0DIR
P1DIR
P2DIR
P3DIR
ERABYT4
LVDCON
0XC0
IIS_CON0
TMR2CON0
TMR2CON1
IIS_CON1
RTCON1
SECCNT
OTP_ADR
IRAM_ADR
0XC8
HFMCON
USBCON0
USBCON1
USBCON2
USBDATA
USBADR
OIRAMCNT
OIRAMCON
0XD0
PSW
HFMCNT
ADCCON
PCON2
ADCDATAL
ADCDATAH
COS_VALH
COS_VALL