|
Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
SYSCON Interface. More...
Functions | |
| uintptr_t | syscon_get_base (void) |
| Get the syscon base address. More... | |
| int | syscon_read_reg (uint16_t reg, uint32_t *val) |
| Read from syscon register. More... | |
| int | syscon_write_reg (uint16_t reg, uint32_t val) |
| Write to syscon register. More... | |
SYSCON Interface.
#include <include/drivers/syscon.h>
Get the syscon base address.
This function returns the syscon base address
#include <include/drivers/syscon.h>
Read from syscon register.
This function reads from a specific register in the syscon area
| reg | The register offset |
| val | The returned value read from the syscon register |
#include <include/drivers/syscon.h>
Write to syscon register.
This function writes to a specific register in the syscon area
| reg | The register offset |
| val | The value to be written in the register |