上海贝岭股½有限公司
上海贝岭股½有限公司
Shanghai Belling Co., Ltd.
BL35P02 DATASHEET
Figure 6.6.1
FCAE and OUTC of MCR are programmed to control the carrier has remote code or not. Either FCAE or
OUTC is clear, the carrier prescaler will be reset to make the first remote code with the carrier full. The waves
of IROUT, FCAE and OUTC are shown as follows:
The carrier of IROUT is based on the system clock that is half of oscillator frequency. It is programmed in
eight different prescaler ratios by setting FC[2:0] of OTP’s OPTION that is shown as follows:
FC[2:0]
FC[2:0]
000
001
010
011
100
101
110
111
Divide
Prescaler Divide Ratio
of System Clock
6
36
50
53
56
61
64
74
Oscillator
Frequency
445KHz
4MHz
4MHz
4MHz
4MHz
4MHz
4MHz
4MHz
The Carrier Frequency
of IROUT
37.91K
55.56K
40.00K
37.74K
35.71K
32.78K
31.25K
27.03K
nterrup
rrupt
6.7 Interrupts
The BL35P02 MCU can be interrupted by different sources including two maskable hardware interrupts
Keyboard interrupt (KBI) and Timer Overflow interrupt (TMI) and one non-maskable software interrupt
Software interrupt(SWI). If the interrupt mask bit (I-bit) in the Condition Code Register (CCR) is set, all
maskable interrupts are disabled. Clearing the I-bit enables interrupts. The software interrupt (SWI) is an
executable instruction and a non-maskable interrupt: it is execute regardless of the state of the I-bit in the CCR.
If the I-bit is zero (interrupt enabled), SWI is executed after interrupts that were pending when the SWI was
fetched, but before interrupts generated after the SWI was fetched. The SWI interrupt service routine address is
specified by the contents of locations $1FFC and $1FFD
TEL:86-21-64850700
WEB:
www.belling.com.cn
Page 8 of 27