- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello all
we are working with detection of input as interrupt and we are using below software setup.
sdk 3.7.0-3
wifi module sn8205x
we are facing below mentioned issue.
"During detection of interrupt we have to start timer for microsecond but in wiced sdk only millisecond timer API is given so how can we implement for microsecond"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is an API wiced_rtos_delay_microseconds for the delay in microseconds in wiced_rtos.h.
wiced_result_t wiced_rtos_delay_microseconds | ( | uint32_t | microseconds | ) |
Delay for a given period of microseconds.
Causes the current thread to block for AT LEAST the specified number of microseconds. If the processor is heavily loaded with higher priority tasks, the delay may be much longer than requested.
NOTE: All threads with equal or lower priority than the current thread will not be able to run while the delay is occurring.
- Parameters
[in] microseconds : The time to delay in microseconds
- Returns
- WICED_SUCCESS : on success.
- WICED_ERROR : if an error occurred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
anyone please suggest me to how to make microsecond timer in wiced sdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is an API wiced_rtos_delay_microseconds for the delay in microseconds in wiced_rtos.h.
wiced_result_t wiced_rtos_delay_microseconds | ( | uint32_t | microseconds | ) |
Delay for a given period of microseconds.
Causes the current thread to block for AT LEAST the specified number of microseconds. If the processor is heavily loaded with higher priority tasks, the delay may be much longer than requested.
NOTE: All threads with equal or lower priority than the current thread will not be able to run while the delay is occurring.
- Parameters
[in] microseconds : The time to delay in microseconds
- Returns
- WICED_SUCCESS : on success.
- WICED_ERROR : if an error occurred