| Electronic Components Datasheet Search |
|
UM1573 Datasheet(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1573 Datasheet(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. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |