データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

ST9 データシート(PDF) 41 Page - STMicroelectronics

部品番号 ST9
部品情報  USER GUIDE
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST9 データシート(HTML) 41 Page - STMicroelectronics

Back Button ST9 Datasheet HTML 37Page - STMicroelectronics ST9 Datasheet HTML 38Page - STMicroelectronics ST9 Datasheet HTML 39Page - STMicroelectronics ST9 Datasheet HTML 40Page - STMicroelectronics ST9 Datasheet HTML 41Page - STMicroelectronics ST9 Datasheet HTML 42Page - STMicroelectronics ST9 Datasheet HTML 43Page - STMicroelectronics ST9 Datasheet HTML 44Page - STMicroelectronics ST9 Datasheet HTML 45Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 146 page
background image
41/146
ST9 USER GUIDE
/* define a function that has a single argument of type pointer to character
*/
void MyFunc ( char * Arg ) ;
{
/* body of the function */
}
void main ( void ) ;
{
/* some code */
/* invoke the function with the address of the character element of the
structure */
MyFunc ( &MyStruct.C1 ) ;/* &MyStruct.C1 = 4(rr2) if rr2 contains the
address of MyStruct */
/* more code */
}
The lddd, ldpp, lddp, ldpd instructions are used for block copies such as assignments of struc-
tures, etc.
Powerful addressing modes such as indirect, indirect with increment or decrement and in-
dexed shorten the code needed to access data even in structures or arrays. They also facili-
tate access to local variables created on the stack on entering functions. Working registers
that benefit from the most powerful instructions and addressing modes are heavily used by the
compiler. In fact, the GNU9 compiler does not always translate the source code as suggested
above. There are optimization schemes that save execution time and/or memory by judi-
ciously allocating the working registers, so that in many cases arguments are not pushed to
the stack, but merely to an available working register.
3.4 INTERRUPTS
The interrupt system of the ST9 is very powerful, and, in consequence, requires some thor-
ough study to get the most out of it. However, it is worth learning since it allows you to build
very efficient programs with excellent interrupt response times.
The ST9 interrupt system works the same as that of any microcontroller, except for two points
that call for special attention: the vector mechanism and the priority mechanism(4).
(4) Device Datasheet; Interrupts § 4.



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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


データシート ダウンロード

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