Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sys_io.h File Reference
#include <zephyr/toolchain.h>
#include <zephyr/sys/sys_io.h>
#include <zephyr/arch/arc/v2/aux_regs.h>
#include <zephyr/types.h>
#include <stddef.h>

Go to the source code of this file.

Functions

static ALWAYS_INLINE void sys_out8 (uint8_t data, io_port_t port)
 
static ALWAYS_INLINE uint8_t sys_in8 (io_port_t port)
 
static ALWAYS_INLINE void sys_out16 (uint16_t data, io_port_t port)
 
static ALWAYS_INLINE uint16_t sys_in16 (io_port_t port)
 
static ALWAYS_INLINE void sys_out32 (uint32_t data, io_port_t port)
 
static ALWAYS_INLINE uint32_t sys_in32 (io_port_t port)
 
static ALWAYS_INLINE void sys_io_set_bit (io_port_t port, unsigned int bit)
 
static ALWAYS_INLINE void sys_io_clear_bit (io_port_t port, unsigned int bit)
 
static ALWAYS_INLINE int sys_io_test_bit (io_port_t port, unsigned int bit)
 
static ALWAYS_INLINE int sys_io_test_and_set_bit (io_port_t port, unsigned int bit)
 
static ALWAYS_INLINE int sys_io_test_and_clear_bit (io_port_t port, unsigned int bit)
 

Function Documentation

◆ sys_in16()

static ALWAYS_INLINE uint16_t sys_in16 ( io_port_t  port)
static

◆ sys_in32()

static ALWAYS_INLINE uint32_t sys_in32 ( io_port_t  port)
static

◆ sys_in8()

static ALWAYS_INLINE uint8_t sys_in8 ( io_port_t  port)
static

◆ sys_io_clear_bit()

static ALWAYS_INLINE void sys_io_clear_bit ( io_port_t  port,
unsigned int  bit 
)
static

◆ sys_io_set_bit()

static ALWAYS_INLINE void sys_io_set_bit ( io_port_t  port,
unsigned int  bit 
)
static

◆ sys_io_test_and_clear_bit()

static ALWAYS_INLINE int sys_io_test_and_clear_bit ( io_port_t  port,
unsigned int  bit 
)
static

◆ sys_io_test_and_set_bit()

static ALWAYS_INLINE int sys_io_test_and_set_bit ( io_port_t  port,
unsigned int  bit 
)
static

◆ sys_io_test_bit()

static ALWAYS_INLINE int sys_io_test_bit ( io_port_t  port,
unsigned int  bit 
)
static

◆ sys_out16()

static ALWAYS_INLINE void sys_out16 ( uint16_t  data,
io_port_t  port 
)
static

◆ sys_out32()

static ALWAYS_INLINE void sys_out32 ( uint32_t  data,
io_port_t  port 
)
static

◆ sys_out8()

static ALWAYS_INLINE void sys_out8 ( uint8_t  data,
io_port_t  port 
)
static