| 전자부품 데이터시트 검색엔진 |
|
AN413 데이터시트(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN413 데이터시트(HTML) 39 Page - STMicroelectronics |
|
39 / 45 page ![]() 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 ; |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |