SN32F760 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 172
Version 2.0
0
USARTEN
USART enable
0: Disable . All USART shared pins act as GPIO.
1: Enable. HW switches GPIO to USART pin according to MODE bits
automatically.
R/W
0
14.11.16
USART n Half-duplex Enable register (USARTn_HDEN) (n=0,1)
Address Offset: 0x34
After reset the USART will be in full-duplex mode, meaning that both TX and RX work independently. After setting the
HDEN bit, the USART will be in half-duplex mode. In this mode, the USART 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 USART 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.
Note: This register should be disabled when in smart card mode or IrDA mode (Smart card and IrDA by
default run in half-duplex mode).
Bit
Name
Description
Attribute
Reset
31:1
Reserved
R
0
0
HDEN
Half-duplex mode enable bit
0: Disable
1: Enable
R/W
0
14.11.17
USART n Smart card Interface Control register (USARTn_SCICTRL)
(n=0,1)
Address Offset: 0x38
Bit
Name
Description
Attribute
Reset
31:24
Reserved
R
0
23:16
TC[7:0]
Count for SCLK clock cycle when SCLKEN=1. SCLK will toggle every
(TC[7:0]+1) * USARTn_PCLK cycle
R/W
0x0
15:8
XTRAGUARD
When the protocol selection T= 0, this field indicates the number of bit
times (ETUs) by which the guard time after a character transmitted by the
USART should exceed the nominal 2 bit times. 0xFF in this field may
indicate that there is just a single bit after a character and 11 bit
times/character
R/W
N/A
7:5
TXRETRY[2:0]
When the protocol selection T = 0, the field controls the maximum number
of retransmissions that the USART will attempt if the remote device
signals NACK. When NACK has occurred this number of times plus one,
the TX Error (TXERR) bit in USARTn_LS register is set, an interrupt is
requested if enabled, and the USART is locked until the FIFO is cleared.
R/W
N/A
4
Reserved
R
0
3
SCLKEN
SCLK enable
Enable if the smart card to be communicated with requires a clock.
0: Disable
1: Enable. HW will switch GPIO to UnSCLK pin.
R/W
0
2
PROTSEL
Protocol selection as defined in the ISO7816-3 standard.
0: T = 0
1: T = 1
R/W
0
1
NACKDIS
NACK response disable bit. Only applicable in T=0.
0: A NACK response is enabled.
1: A NACK response is inhibited.
R/W
0
Содержание SN32F755
Страница 218: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 218 Version 2 0 22 2 LQFP 64 PIN...
Страница 220: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 220 Version 2 0 22 4 QFN 46 PIN...
Страница 221: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 221 Version 2 0 22 5 QFN 33 PIN 5x5...