전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN3123 데이터시트(PDF) 23 Page - STMicroelectronics

부품명 AN3123
상세설명  Using the UART interfaces in the SPEAr embedded MPU family
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3123 데이터시트(HTML) 23 Page - STMicroelectronics

Back Button AN3123 Datasheet HTML 19Page - STMicroelectronics AN3123 Datasheet HTML 20Page - STMicroelectronics AN3123 Datasheet HTML 21Page - STMicroelectronics AN3123 Datasheet HTML 22Page - STMicroelectronics AN3123 Datasheet HTML 23Page - STMicroelectronics AN3123 Datasheet HTML 24Page - STMicroelectronics AN3123 Datasheet HTML 25Page - STMicroelectronics AN3123 Datasheet HTML 26Page - STMicroelectronics AN3123 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 30 page
background image
AN3123
OS-independent SPEAr UART HAL
Doc ID 16862 Rev 2
23/30
10
OS-independent SPEAr UART HAL
This section describes an OS independent hardware abstraction layer (HAL) for the SPEAr
UART which you can use as a starting point for developing your own HAL code.
10.1
SetBaseDevice()
This API sets the base address of the UART.
static t_UARTError SetBaseDevice(volatile u32 *SPEAR_UART_APB_BASE,
struct spear_uart_config *dev)
UARTId: Identify the UART device
If the UARTId is UART0 or UART1, then it is a valid input for it otherwise it is said to be an
invalid UART ID.
10.2
GetBaudDivisor()
This function returns the integer and fractional values of the baud rate divisor.
static u32 GetBaudDivisor(t_UARTBaudRate BaudRate, u32
*IntegralVal)
BaudRate: Baud rate to be configured
IntegralVal - Baud rate divisor's integral value
Baud rate is a constant value & can be selected from the table given below
:
Table 14.
Baud rate values
Option
Value
BAUD110
110
BAUD300
300
BAUD1200
1200
BAUD2400
2400
BAUD4800
4800
BAUD9600
9600
BAUD19200
19200
BAUD38400
38400
BAUD57600
57600
BAUD115200
115200
BAUD230400
230400
BAUD460800
460800



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com