參數(shù)資料
型號: CR16HCT9VJE7
英文描述: Microcontroller
中文描述: 微控制器
文件頁數(shù): 74/157頁
文件大小: 1256K
代理商: CR16HCT9VJE7
www.national.com
74
ninth data bit is transmitted and received using two bits in the
control registers, called UnXB9 and UnRB9. Parity is not
generated or verified in this mode.
18.2.6
The Baud Rate Generator creates the basic baud clock from
the system clock. The system clock is passed through a two-
stage divider chain consisting of a 5-bit baud rate prescaler
(UnPSC) and an 11-bit baud rate divisor (UnDIV).
The relationship between the 5-bit prescaler select (UnPSC)
setting and the prescaler factors is shown in Table 19.
Table 19
Prescaler Factors
Baud Rate Generator
A prescaler factor of zero corresponds to “no clock.” The “no
clock” condition is the USART power down mode, in which
the USART clock is turned off to reduce power consumption.
The application program should select the “no clock” condi-
tion before entering a new baud rate. Otherwise, it could
cause incorrect data to be received or transmitted. The
UnPSR register must contain a value other than zero when
an external clock is used at CKXn.
In asynchronous mode, the baud rate is calculated by:
where BR is the baud rate, SYS_CLK is the system clock, N
is the value of the baud rate divisor + 1, and P is the prescaler
divide factor selected by the value in the UnPSR register.
The divide by 16 is performed because in the asynchronous
mode, the input frequency to the USART is 16 times the baud
rate. In synchronous mode, the input clock to the USART
equals the baud rate.
18.2.7
The USART is capable of generating interrupts on:
Receive Buffer Full
Receive Error
Transmit Buffer Empty
Figure 38 shows a diagram of the interrupt sources and as-
sociated enable bits.
Interrupts
Figure 37.
Nine Data Bit Frame Options
Prescaler
Select
Prescaler
Factor
Prescaler
Select
Prescaler
Factor
00000
00001
00010
00011
00100
00101
00110
00111
01000
01001
01010
01011
1
1
10000
10001
10010
10011
10100
10101
10110
10111
11000
11001
11010
11011
8.5
9
9.5
10
10.5
11
11.5
12
12.5
13
13.5
14
1.5
2
2.5
3
3.5
4
4.5
5
5.5
6
3
SBIT
9 BIT DATA
S
3a
SBIT
9 BIT DATA
2S
01100
01101
01110
01111
6.5
7
7.5
8
11100
11101
11110
11111
14.5
15
15.5
16
Table 19
Prescaler Factors
Prescaler
Select
Prescaler
Factor
Prescaler
Select
Prescaler
Factor
BR
CLK
16
N
P
×
)
------------_
=
Figure 38.
USART Interrupts
UnEEI
UnERI
UnERR
UnRBF
UnFE
UnDOE
UnPE
RX
Interrupt
UnETI
UnTBE
TX
Interrupt
相關PDF資料
PDF描述
CR16HCT9VJE7Y Microcontroller
CR16HCT9VJE8 Microcontroller
CR16HCT9VJE8Y Microcontroller
CR16HCT9VJE9 Microcontroller
CR16HCT9VJE9Y Microcontroller
相關代理商/技術參數(shù)
參數(shù)描述
CR16HCT9VJE7Y 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
CR16HCT9VJE8 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
CR16HCT9VJE8Y 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
CR16HCT9VJE9 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
CR16HCT9VJE9Y 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller