- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sir,
I saw a callback function in puart.h.
extern void (*puart_rxIntCb)(void);
What's this for? And can we use it?
Solved! Go to Solution.
- Labels:
-
Peripherhal UART
-
SDK 2.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is used in WICED sense app
// Set callback function to app callback function.
// Callback function is assigned to whatever Function was passed into App_Puart_Init, in this case 'puart_interrupt_callback'
puart_rxCb = puart_rx_callback;
HTH
vik86
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Fran,
Please see the uart_firmware_upgrade sample in the SDK 2.2
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is used in WICED sense app
// Set callback function to app callback function.
// Callback function is assigned to whatever Function was passed into App_Puart_Init, in this case 'puart_interrupt_callback'
puart_rxCb = puart_rx_callback;
HTH
vik86