7#ifndef ZEPHYR_INCLUDE_ARCH_ARC_SYS_IO_COMMON_H_
8#define ZEPHYR_INCLUDE_ARCH_ARC_SYS_IO_COMMON_H_
28 value = *(
volatile uint8_t *)addr;
37 *(
volatile uint8_t *)addr = data;
ARCv2 auxiliary registers definitions.
#define ALWAYS_INLINE
Definition: common.h:129
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88
__UINT16_TYPE__ uint16_t
Definition: stdint.h:89
static ALWAYS_INLINE void sys_write32(uint32_t data, mem_addr_t addr)
Definition: sys-io-common.h:70
static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr)
Definition: sys-io-common.h:23
static ALWAYS_INLINE void sys_write16(uint16_t data, mem_addr_t addr)
Definition: sys-io-common.h:52
static ALWAYS_INLINE uint32_t sys_read32(mem_addr_t addr)
Definition: sys-io-common.h:59
static ALWAYS_INLINE uint16_t sys_read16(mem_addr_t addr)
Definition: sys-io-common.h:41
static ALWAYS_INLINE void sys_write8(uint8_t data, mem_addr_t addr)
Definition: sys-io-common.h:34
uintptr_t mem_addr_t
Definition: sys_io.h:21