|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Driver Operations SYSCON driver operations More...
#include <zephyr/drivers/syscon.h>
Data Fields | |
| syscon_api_read_reg | read |
| OPT Read from syscon register. | |
| syscon_api_write_reg | write |
| OPT Write to syscon register. | |
| syscon_api_update_bits | update_bits |
| OPT Atomically update bits in a syscon register. | |
| syscon_api_get_base | get_base |
| OPT Get the syscon base address. | |
| syscon_api_get_size | get_size |
| OPT Get the size of the syscon register in bytes. | |
Driver Operations SYSCON driver operations
This is the driver API structure any SYSCON 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.
| syscon_api_get_base syscon_driver_api::get_base |
OPT Get the syscon base address.
| syscon_api_get_size syscon_driver_api::get_size |
OPT Get the size of the syscon register in bytes.
| syscon_api_read_reg syscon_driver_api::read |
OPT Read from syscon register.
| syscon_api_update_bits syscon_driver_api::update_bits |
OPT Atomically update bits in a syscon register.
| syscon_api_write_reg syscon_driver_api::write |
OPT Write to syscon register.