| 数据搜索系统,热门电子元器件搜索 |
|
AN413 数据表(PDF) 25 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN413 数据表(HTML) 25 Page - STMicroelectronics |
|
25 / 45 page ![]() AN413 Examples of ST9 peripheral configurations Doc ID 1875 Rev 2 25/45 Appendix B Examples of ST9 peripheral configurations . sbttl “ ST9030 registers addresses and contents ” . include “c:\st9\bin\symbols.inc” ; The reader should refer to the file containing the ; declaration of all the bits and registers of the ST9030 ; for the symbols used in the following listing. ; ; .nlist ;***************************************************************** ;* This program demonstrates the configuration of ST9 peripherals* ;***************************************************************** ;********************** ;*RAM Declaration* ;********************** prescal_t0 := r2 ; Value of Timer 0 Prescaler val_capt_t0 := rr4 ; Value of Timer 0 Capture register nb_event_t0 := rr4 ; Number of Timer 0 event lg_dma := rr6 ; Length of DMA CPT_AD_DMA := RR8 ; DMA Address Register CPT_LG_DMA := RR8 ; DMA Counter Register ad_conv := r3 ; conversion start address IT_T0_LEVEL = 4 ; Timer 0 priority level IT_CAD_LEVEL = 6 ; A/D converter priority level ;**************************** ;*INTERRUPT VECTOR ADDRESSES* ;**************************** CORE_IT_VECT := 00h ; Core interrupt vectors T0_IT_VECT := 10h ; Timer 0 interrupt vectors EXT_IT_VECT := 20h ; External interrupt vectors ADC_IT_VECT := 30h ; A/D Converter interrupt vectors SCI_IT := 40h ; SCI interrupt vector ;******************* ;*STACK Declaration* ;******************* SSTACK := 223 ; System stack address group D C USTACK := 191 ; User stack address group B ;******************** |
|
链接网址 |
| 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 |