数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN413 数据表(PDF) 39 Page - STMicroelectronics

部件名 AN413
功能描述  Initialization of the ST9
PDF  45 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN413 数据表(HTML) 39 Page - STMicroelectronics

Back Button AN413 Datasheet HTML 35Page - STMicroelectronics AN413 Datasheet HTML 36Page - STMicroelectronics AN413 Datasheet HTML 37Page - STMicroelectronics AN413 Datasheet HTML 38Page - STMicroelectronics AN413 Datasheet HTML 39Page - STMicroelectronics AN413 Datasheet HTML 40Page - STMicroelectronics AN413 Datasheet HTML 41Page - STMicroelectronics AN413 Datasheet HTML 42Page - STMicroelectronics AN413 Datasheet HTML 43Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 45 page
background image
AN413
Examples of SCI configurations
Doc ID 1875 Rev 2
39/45
Appendix E
Examples of SCI configurations
;***********************
; SCI
;constant declarations.
;***********************
PRIORITY_SCI = 4
; SCI priority level
DIV_9600 = 78
; BRG divisor for a 9600 baud clock
; with a 12 MHz system clock.
DIV_4800 = 156
; To generate a 4800 bds clock.
DIV_2400 = 312
; To generate a 2400 bds clock.
DIV_1200 = 614
; To generate a 1200 bds clock.
VC_9600 := 4
; Character for 9600 bauds.
Return = 00dh
LNG_DMA_SCI := 0Fh
; DMA length.
DEPART_DMA_SCI := 0A0h
; Start DMA address .
; BK_DMA_SCI reserved for this.
NUM_TDAP := 6
; Contains DMA transmit address pointer value.
NUM_TDCP := 7
; Contains DMA transmit address counter value.
data := r2
; data hold register
rec_ptr := rr6
rec_cpt := rr8
;********************************************************************
; function:
;
- I/O ports initialization.
;
- Speed and frame initialization.
;
- Compare register initialization.
;
- Interrupt and DMA configuration.
;
; Interrupt request:
;
- Receive error.
;
- Receiver data.
;
- end of DMA transmit.
;
; inputs: none
;
; outputs:none
;



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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45


数据表 下载

Go To PDF Page


链接网址



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