|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Functions | |
| static void | sys_write8 (uint8_t data, mm_reg_t addr) |
| Write a byte to a memory mapped register. | |
| static uint8_t | sys_read8 (mm_reg_t addr) |
| Read a byte from a memory mapped register. | |
| static void | sys_write16 (uint16_t data, mm_reg_t addr) |
| Write 16 bits to a memory mapped register. | |
| static uint16_t | sys_read16 (mm_reg_t addr) |
| Read 16 bits from a memory mapped register. | |
| static void | sys_write32 (uint32_t data, mm_reg_t addr) |
| Write 32 bits to a memory mapped register. | |
| static uint32_t | sys_read32 (mm_reg_t addr) |
| Read 32 bits from a memory mapped register. | |
| static void | sys_write64 (uint64_t data, mm_reg_t addr) |
| Write 64 bits to a memory mapped register. | |
| static uint64_t | sys_read64 (mm_reg_t addr) |
| Read 64 bits from a memory mapped register. | |
#include <zephyr/sys/sys_io.h>
Read 16 bits from a memory mapped register.
This function reads 16 bits from the given memory mapped register.
| addr | the memory mapped register address from where to read the 16 bits |
#include <zephyr/sys/sys_io.h>
Read 32 bits from a memory mapped register.
This function reads 32 bits from the given memory mapped register.
| addr | the memory mapped register address from where to read the 32 bits |
#include <zephyr/sys/sys_io.h>
Read 64 bits from a memory mapped register.
This function reads 64 bits from the given memory mapped register.
| addr | the memory mapped register address from where to read the 64 bits |
#include <zephyr/sys/sys_io.h>
Read a byte from a memory mapped register.
This function reads a byte from the given memory mapped register.
| addr | the memory mapped register address from where to read the byte |
#include <zephyr/sys/sys_io.h>
Write 16 bits to a memory mapped register.
This function writes 16 bits to the given memory mapped register.
| data | the 16 bits to write |
| addr | the memory mapped register address where to write the 16 bits |
#include <zephyr/sys/sys_io.h>
Write 32 bits to a memory mapped register.
This function writes 32 bits to the given memory mapped register.
| data | the 32 bits to write |
| addr | the memory mapped register address where to write the 32 bits |
#include <zephyr/sys/sys_io.h>
Write 64 bits to a memory mapped register.
This function writes 64 bits to the given memory mapped register.
| data | the 64 bits to write |
| addr | the memory mapped register address where to write the 64 bits |
#include <zephyr/sys/sys_io.h>
Write a byte to a memory mapped register.
This function writes a byte to the given memory mapped register.
| data | the byte to write |
| addr | the memory mapped register address where to write the byte |