Struct timer_driver_api
Driver API structure for timer devices. More...
#include <timer.h>
Public Attributes
| Type | Name |
|---|---|
| timer_api_config | config |
| timer_api_get_count | get_count |
| timer_api_start | start |
| timer_api_stop | stop |
Detailed Description
This structure defines the interface that a timer driver must implement to integrate with the OwnTech timer subsystem.
configis the function used to configure the timer.startstarts the timer operation.stopstops the timer operation.get_countretrieves the current timer counter value.
This structure is registered as a Zephyr subsystem using the __subsystem keyword.
Public Attributes Documentation
variable config
variable get_count
variable start
variable stop
The documentation for this class was generated from the following file docs/core/zephyr/modules/owntech_timer_driver/zephyr/public_api/timer.h