Rev. 1.10
188
October 23, 2020
Rev. 1.10
189
October 23, 2020
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
010: 2
10
/f
PSC0
011: 2
11
/f
PSC0
100: 2
12
/f
PSC0
101: 2
13
/f
PSC0
110: 2
14
/f
PSC0
111: 2
15
/f
PSC0
• TB1C Register
Bit
7
6
5
4
3
2
1
0
Name
TB1ON
—
—
—
—
TB12
TB11
TB10
R/W
R/W
—
—
—
—
R/W
R/W
R/W
POR
0
—
—
—
—
0
0
0
Bit 7
TB1ON
: Time Base 1 Enable Control
0: Disable
1: Enable
Bit 6~3
Unimplemented, read as “0”
Bit 2~0
TB12~TB10
: Time Base 1 time-out period selection
000: 2
8
/f
PSC1
001: 2
9
/f
PSC1
010: 2
10
/f
PSC1
011: 2
11
/f
PSC1
100: 2
12
/f
PSC1
101: 2
13
/f
PSC1
110: 2
14
/f
PSC1
111: 2
15
/f
PSC1
TM Interrupts
The Compact, Standard and Periodic TMs each have two interrupts, one comes from the comparator
A match situation and the other comes from the comparator P match situation. All of the TM
interrupts are contained within the Multi-function Interrupts. For all of the TM types there are two
interrupt request flags and two enable control bits. A TM interrupt request will take place when
any of the TM request flags are set, a situation which occurs when a TM comparator P or A match
situation happens.
To allow the program to branch to its respective interrupt vector address, the global interrupt enable
bit, EMI, respective TM Interrupt enable bit, and relevant Multi-function Interrupt enable bit, MFnE,
must first be set. When the interrupt is enabled, the stack is not full and a TM comparator match
situation occurs, a subroutine call to the relevant Multi-function Interrupt vector locations, will take
place. When the TM interrupt is serviced, the EMI bit will be automatically cleared to disable other
interrupts. However, only the related MFnF flag will be automatically cleared. As the TM interrupt
request flags will not be automatically cleared, they have to be cleared by the application program.
Serial Interface Module Interrupt
The Serial Interface Module Interrupt, also known as the SIM interrupt. A SIM Interrupt request
will take place when the SIM Interrupt request flag, SIMF, is set, which occurs when a byte of data
has been received or transmitted by the SIM interface, an I
2
C slave address match or I
2
C bus time-
out occurrence. To allow the program to branch to its respective interrupt vector address, the global
interrupt enable bit, EMI and the Serial Interface Interrupt enable bit, SIME, must first be set. When
the interrupt is enabled, the stack is not full and any of the above described situations occurs, a
subroutine call to the respective SIM Interrupt vector, will take place. When the Serial Interface
Interrupt is serviced, the SIMF flag will also be automatically cleared. The EMI bit will also be
automatically cleared to disable other interrupts.