|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Driver Operations CLOCK_MONITOR driver operations More...
#include <zephyr/drivers/clock_monitor.h>
Data Fields | |
| clock_monitor_api_configure | configure |
| REQ Apply a monitor configuration. | |
| clock_monitor_api_start | start |
| REQ Start operation of the configured mode. | |
| clock_monitor_api_stop | stop |
| REQ Stop the monitor. | |
| clock_monitor_api_get_rate | get_rate |
| OPT Poll the most recent completed measurement. | |
| clock_monitor_api_set_source | set_source |
| OPT Switch the reference / target clock inputs at runtime. | |
Driver Operations CLOCK_MONITOR driver operations
This is the driver API structure any CLOCK_MONITOR driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.
Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.
| clock_monitor_api_configure clock_monitor_driver_api::configure |
REQ Apply a monitor configuration.
| clock_monitor_api_get_rate clock_monitor_driver_api::get_rate |
OPT Poll the most recent completed measurement.
| clock_monitor_api_set_source clock_monitor_driver_api::set_source |
OPT Switch the reference / target clock inputs at runtime.
| clock_monitor_api_start clock_monitor_driver_api::start |
REQ Start operation of the configured mode.
| clock_monitor_api_stop clock_monitor_driver_api::stop |
REQ Stop the monitor.