f
M
SYS
f
/4
U
SYS
X
f
SUB
CLKSEL[1:0]
• PSCR Register
Bit
7
Name
—
R/W
—
POR
—
Bit 7~2
Unimplemented, read as "0"
CLKSEL1~CLKSEL0: Prescaler clock source selection
Bit 1~0
00: f
01: f
10/11: f
• TBC Register
Bit
7
Name
TBON
R/W
R/W
POR
0
Bit 7
TBON: Time Base Control
0: Disable
1: Enable
Bit 6~3
Unimplemented, read as "0"
Bit 2~0
TB2~TB0: Select Time Base Time-out Period
000: 2
001: 2
010: 2
011: 2
100: 2
101: 2
110: 2
111: 2
Multi-function Interrupt
Within the device there are up to two Multi-function interrupts. Unlike the other independent
interrupts, these interrupts have no independent source, but rather are formed from other existing
interrupt sources, namely the touch key TKRCOV interrupt, touch key threshold TKTH interrupt
and TM interrupts.
A Multi-function interrupt request will take place when any of the Multi-function interrupt request
flags, MFnF are set. The Multi-function interrupt flags will be set when any of their included
functions generate an interrupt request flag. To allow the program to branch to its respective interrupt
vector address, when the Multi-function interrupt is enabled and the stack is not full, and either one
of the interrupts contained within each of Multi-function interrupt occurs, a subroutine call to one of
the Multi-function interrupt vectors will take place. When the interrupt is serviced, the related Multi-
Function request flag will be automatically reset and the EMI bit will be automatically cleared to
disable other interrupts.
Rev. 1.00
4-Key Enhanced Touch I/O Flash MCU
TBON
8
f
/2
~ f
f
PSC
PSC
PSC
Prescaler
Time Base Interrupt
6
5
—
—
—
—
—
—
SYS
/4
SYS
SUB
6
5
—
—
—
—
—
—
/f
8
PSC
/f
9
PSC
/f
10
PSC
/f
11
PSC
/f
12
PSC
/f
13
PSC
/f
14
PSC
/f
15
PSC
94
TB[2:0]
M
15
/2
U
X
4
3
2
—
—
—
CLKSEL1 CLKSEL0
—
—
—
—
—
—
4
3
2
—
—
TB2
—
—
R/W
—
—
0
BS83A04C
Time Base Interrupt
1
0
R/W
R/W
0
0
1
0
TB1
TB0
R/W
R/W
0
0
March 24, 2020
Need help?
Do you have a question about the BS83A04C and is the answer not in the manual?
Questions and answers