EasyManua.ls Logo

Holtek BS66F340 - UART Interface

Default Icon
242 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 1.60 170 August 20, 2019 Rev. 1.60 171 August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
SIMTOC Register
Bit 7 6 5 4 3 2 1 0
Name SIMTOEN SIMTOF SIMTOS5 SIMTOS4 SIMTOS3 SIMTOS2 SIMTOS1 SIMTOS0
R/W R/W R/W R/W R/W R/W R/W R/W R/W
POR 0 0 0 0 0 0 0 0
Bit 7 SIMTOEN: SIM I
2
C Time-out control
0: Disable
1: Enable
Bit 6 SIMTOF: SIM I
2
C Time-out ag
0: No time-out occurred
1: Time-out occurred
Bit 5~0 SIMTOS5~SIMTOS0: SIM I
2
C Time-out period selection
I
2
C Time-out clock source is f
SUB
/32
I
2
C Time-out period is equal to
[ ]
( )
SUB
f
32
10:5
SIMTOS
×+
UART Interface
These devices contain an integrated full-duplex asynchronous serial communications UART
interface that enables communication with external devices that contain a serial interface. The
UART function has many features and can transmit and receive data serially by transferring a frame
of data with eight or nine data bits per transmission as well as being able to detect errors when the
data is overwritten or incorrectly framed. The UART function possesses its own internal interrupt
which can be used to indicate when a reception occurs or when a transmission terminates.
The integrated UART function contains the following features:
Full-duplex, asynchronous communication
8 or 9 bits character length
Even, odd or no parity options
One or two stop bits
Baud rate generator with 8-bit prescaler
Parity, framing, noise and overrun error detection
Support for interrupt on address detect (last character bit=1)
Separately enabled transmitter and receiver
2-byte Deep FIFO Receive Data Buffer
RX pin wake-up function
Transmit and receive interrupts
Interrupts can be initialized by the following conditions:
Transmitter Empty
Transmitter Idle
Receiver Full
Receiver Overrun
Address Mode Detect

Table of Contents

Related product manuals