| 数据搜索系统,热门电子元器件搜索 |
|
UM1573 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1573 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 27 page ![]() UM1573 ST7540 stack firmware code Doc ID 023619 Rev 1 13/27 The stack engine update is done by using the NL_DeviceStackUpdate function in a non- blocking firmware flow: void main(void) { /* Application initialization */ ... /* Infinitive loop */ while(1) { /* User application state machine */ USER_ApplicationSMupdate(); ... /* Stack engine update */ NL_DeviceStackUpdate(); } } or, using an asynchronous (from the program flow) interrupt event of a timer or another peripheral or external device (RTC for example): void main(void) { /* Application initialization */ ... /* User application code */ ... } /* Internal timer, task event, periodic external event... */ void Timer_InterruptRequest(void) { ... /* Stack engine update */ NL_DeviceStackUpdate(); } In the interfaceconfig.h file all the macros that represent the default configuration for the chosen working model and the stack parameters are defined. All the parameters and the configuration can be set in run mode using the appropriate APIs described hereinafter. The stack working mode configuration parameters defined in the interfaceconfig.h file are shown below. In order to disable the corresponding option, it is necessary to comment (//) the equivalent macro. |
|
|
链接网址 |
| 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 |