-
Notifications
You must be signed in to change notification settings - Fork 1.1k
AliOS Things API HAL SOC TIMER Guide
librae8226 edited this page Mar 1, 2018
·
1 revision
int32_t hal_timer_init(timer_dev_t *tim)
-
Description
init a hardware timer
-
Parameters
IN/OUT NAME DESC [in] tim timer struct -
Returns
None.
int32_t hal_timer_start(timer_dev_t *tim)
-
Description
start a hardware timer
-
Parameters
IN/OUT NAME DESC [in] tim timer struct -
Returns
0 == success, EIO == failure
void hal_timer_stop(timer_dev_t *tim)
-
Description
stop a hardware timer
-
Parameters
IN/OUT NAME DESC [in] tim timer struct -
Returns
None.
int32_t hal_timer_finalize(timer_dev_t *tim)
-
Description
finalize a hardware timer
-
Parameters
IN/OUT NAME DESC [in] tim timer struct -
Returns
None.
| Home | Tutorial | Hardware | Porting Guide | Utilities | API Reference | Technical Docs | Certification |
Crafted with ❤️ by AliOS Things Team.