Rev. 1.00
200
September 11, 2018
Rev. 1.00
201
September 11, 2018
HT45F4050
A/D NFC Flash MCU
HT45F4050
A/D NFC Flash MCU
Bit 2~0
TB02~TB00
: Time Base 0 time-out period selection
000: 2
8
/f
PSC
0
001: 2
9
/f
PSC
0
010: 2
10
/f
PSC
0
011: 2
11
/f
PSC
0
100: 2
12
/f
PSC
0
101: 2
13
/f
PSC
0
110: 2
14
/f
PSC
0
111: 2
15
/f
PSC
0
• 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
PSC
1
001: 2
9
/f
PSC
1
010: 2
10
/f
PSC
1
011: 2
11
/f
PSC
1
100: 2
12
/f
PSC
1
101: 2
13
/f
PSC
1
110: 2
14
/f
PSC
1
111: 2
15
/f
PSC
1
Serial Interface Module Interrupt
A
n
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,
SIM
E, must first be set. When the interrupt is enabled, the stack is not full and any of
the above described situations occurs, will take place. When the Serial Interface Module Interrupt is
serviced, the interrupt request flag,
SIM
F, will be automatically reset and the EMI bit will be cleared
to disable other interrupts.
UART Transfer Interrupt
The UART Transfer Interrupt is controlled by several UART transfer conditions. When one of these
conditions occurs, an interrupt pulse will be generated to get the attention of the microcontroller.
These conditions are a transmitter data register empty, transmitter idle, receiver data available,
receiver overrun, address detect and an RX pin wake-up. To allow the program to branch to its
respective interrupt vector address, the global interrupt enable bit, EMI, and UART Interrupt
enable bit, URE, must first be set. When the interrupt is enabled, the stack is not full and any of the
conditions described above occurs, a subroutine call to the UART Interrupt vector, will take place.
When the interrupt is serviced, the UART Interrupt flag, URF, will be automatically cleared. The
EMI bit will also be automatically cleared to disable other interrupts.