![SONIX SN32F107 Скачать руководство пользователя страница 133](http://html1.mh-extra.com/html/sonix/sn32f107/sn32f107_user-manual_1321507133.webp)
SN32F100 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 133
Version 1.9
Bit
Name
Description
Attribute
Reset
31:9
Reserved
R
0
8
OVER8
Oversampling value
0: Oversampling by 16
1: Oversampling by 8
R/W
0
7:4
MULVAL[3:0]
Baud rate pre-scaler multiplier value = MULVAL[3:0] +1
0000: Baud rate pre-scaler multiplier value is 1 for HW
0001: Baud rate pre-scaler multiplier value is 2 for HW
…
…
1111: Baud rate pre-scaler multiplier value is 16 for HW.
R/W
0
3:0
DIVADDVAL[3:0]
Baud rate generation pre-scaler divisor value. If this field is 0, fractional
baud rate generator will not impact the UART baud rate
R/W
0
12.7.13 UART n Control register (UARTn_CTRL) (n=0, 1)
Address Offset: 0x30
In addition to HW flow control, this register enables implementation of SW flow control.
When TXEN = 1, the UART transmitter will keep sending data as long as they are available. As soon as TXEN bit
becomes 0, UART transmission will stop.
It is strongly suggested to let the UART HW implemented auto flow control features take care of limit the scope of
TXEN to SW flow control.
Note: It is advised that TXEN and RXEN are set in the same instruction if needed in order to minimize the
setup and the hold time of the receiver.
Bit
Name
Description
Attribute
Reset
31:8
Reserved
R
0
7
TXEN
When this bit is 1, data written to the UARTn_TH register is output on the
TXD pin as soon as any preceding data has been sent.
If this bit is cleared to 0 while a character is being sent, the transmission
of that character is completed, but no further characters are sent until this
bit is set again.
In other words, a 0 in this bit blocks the transfer of characters from the
UARTn_TH register or TX FIFO into the transmit shift register.
R/W
1
6
RXEN
0: Disable RX related function
1: Enable RX
R/W
1
5:1
Reserved
R
0
0
UARTEN
UART enable
0: Disable . All UART shared pins act as GPIO.
1: Enable. HW switches GPIO to UART pin automatically.
R/W
0
12.7.14 UART n Half-duplex Enable register (UARTn_HDEN) (n=0, 1)
Address Offset: 0x34
After reset the UART will be in full-duplex mode, meaning that both TX and RX work independently. After setting the
HDEN bit, the UART will be in half-duplex mode. In this mode, the UART ensures that the receiver is locked when idle,
or will enter a locked state after having received a complete ongoing character reception. Line conflicts must be
handled in SW.
The behavior of the UART is unpredictable when data is presented for reception while data is being transmitted. For
this reason, the value of the HDEN register should not be modified while sending or receiving data, or data may be lost
or corrupted.
Содержание SN32F107
Страница 34: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 34 Version 1 9 0 Reserved R 0...
Страница 180: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 180 Version 1 9 20 2 LQFP 64 PIN...
Страница 181: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 181 Version 1 9 20 3 LQFP 80 PIN...