3 CPU Core Information
11
CW6632B Bluetooth 3.0 Audio Player SOC
Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
Indirect addressing
only
Direct and Indirect
addressing
Direct addressing
00H
7FH
80H
FFH
Upper128
Lower128
SFR
FFH
80H
Figure 3-3 Internal data memory mapping
he Lowest 32 bytes in Lower 128 are grouped into 4 banks of 8 registers. Program
instructions call out these registers as R0 through R7. Two bits in the PSW select which register bank are in use.
00H
07H
08H
0FH
10H
1FH
18H
1FH
20H
2FH
7FH
00
01
10
11
BANK SELECT
BITS IN PSW
Reset value of SP
Bit addressable space
Figure 3-4 Lowest 32 bytes in Internal data memory Lower 128
3.4
Interrupt Processing
3.4.1
Interrupt sources
The CW6632B provides 15 interrupt sources. All interrupts are controlled by a series combination of individual
enable bits and a global enable (EA) in the interrupt-enable register (IE0.7). Setting EA to logic 1 allows individual
interrupts to be enabled. Setting EA to logic 0 disables all interrupts regardless of the individual interrupt-enable
settings. The interrupt enables and priorities are functionally identical to those of the 80C52.
The CW6632B provides 3 sets of vectors entry addresses, starting from 0x0003, 0x4003 and 0x8003. The vector
base address is set by DPCON [7:6].
lists the interrupt summary.
Table 3-2 Interrupt Summary