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

X  

AN413 数据表(PDF) 13 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) 13 Page - STMicroelectronics

Back Button AN413 Datasheet HTML 9Page - STMicroelectronics AN413 Datasheet HTML 10Page - STMicroelectronics AN413 Datasheet HTML 11Page - STMicroelectronics AN413 Datasheet HTML 12Page - STMicroelectronics AN413 Datasheet HTML 13Page - STMicroelectronics AN413 Datasheet HTML 14Page - STMicroelectronics AN413 Datasheet HTML 15Page - STMicroelectronics AN413 Datasheet HTML 16Page - STMicroelectronics AN413 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 45 page
background image
AN413
ST9 basic system configuration
Doc ID 1875 Rev 2
13/45
3.7
SCI unit initialization
The list of registers to be initialized when initializing the SCI unit is given in Table 12. The
functions of these registers, and some illustrative examples of their use, are as follows:
The Receiver DMA Transaction Counter Pointer Register, RDCPR, contains the register file
address of the receiver DMA transaction counter. In addition it determines whether the DMA
transfers occur in the register file or in memory.
Example:
An example of the use of this register is provided below (see RDAPR example).
The Receiver DMA Destination Address Pointer Register, RDAPR, contains the register file
address of the receiver DMA data destination. In addition, in conjunction with bit 0 of
RDCPR, it determines whether the DMA transfers occur in Program or Data memory.
Example:
00 FF LNG-DMA_SCI := 0Fh
00 A0 DEPART_DMA_SCI := 0A0h
00 02 NUM_RDAP := 2
00 03 NUM_RDCP := 3
2C 03 ld S_rdcpr,#NUM_RDCP
1C 02 ld S_rdapr,#NUM_RDAP
F5 03 0F ld R#NUM_RDCP,#(LNG_DMA_SCI)
F5 02 00 ld R#NUM_RDAP,#(DEPART_DMA_SCI)
In this program sequence the DMA transaction counter and Address Pointer register
addresses are defined to be R3 and R2 respectively. These two registers are initialized for a
block of size 15 bytes starting at register address A0, i.e. R160.
The Transmitter DMA Transaction Counter Pointer Register, TDCPR, contains the register
file address of the transmitter DMA transaction counter. In addition it determines whether
the DMA transfers occur in the register file or in memory.
Example:
An example of the use of this register is provided below (see TDAPR example).
The Transmitter DMA Destination Address Pointer Register, TDAPR, contains the register
file address of the transmitter DMA data destination. In addition, in conjunction with bit 0 of
TDCPR, it determines whether the DMA transfers occur in Program or Data memory.
Example:
00 FF LNG-DMA_SCI := 0Fh
00 A0 DEPART_DMA_SCI := 0A0h
00 06 NUM_TDAP := 6
00 07 NUM_TDCP := 7
2C 07 ld S_TDCPR,#NUM_TDCP
3C 06 ld S_TDAPR,#NUM_TDAP



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