| Electronic Components Datasheet Search |
|
UM1573 Datasheet(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1573 Datasheet(HTML) 21 Page - STMicroelectronics |
|
21 / 27 page ![]() UM1573 ST7540 stack firmware code Doc ID 023619 Rev 1 21/27 /* Data delivery to the target device successfull */ ... } 2.2.4 Other stack interface APIs In the network interface file (stk_n.h) there are some other APIs that can be used in the user application. The first of which is a function used to reset the state machines and restart the engines: void NL_NetworkRestart(void); In order to know or to set the current stack settings and working mode, the following APIs are available: /* Working mode (DNL_DLSP_t defined in stk_n.h file) */ void NL_GetDataLinkStackParameters(NL_DLSP_t *llsp); void NL_SetDataLinkStackParameters(NL_DLSP_t llsp); /* Get API's */ uint8_t NL_GetLocalWorkingMode(void); uint8_t NL_GetLocalHopLevel(void); void NL_GetLocalAddress(uint16_t *nDevGrp, uint32_t *nDevAdd); /* Set API's */ void NL_SetLocalAddress(uint16_t nDevGrp, uint32_t nDevAdd); void NL_SetLocalWorkingMode(uint8_t wmode); void NL_SetLocalHopLevel(uint8_t hlevel); To set up the working mode, it is possible to set the single flag, without changing the value of the other flags. void NL_SetLocalWorkingModeFlag(NL_WMFlag_t flag, NL_WMFlag_status_t sts); The following is a list of the flags and the values those flags can assume. typedef enum { F_BROADCAST = 0x01, F_ACK = 0x02, F_bACK = 0x04, F_REPEATER = 0x08, F_GROUP = 0x10 }NL_WMFlag_t; typedef enum |
|
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 |