hexo/iospace.h header reference
[Hardware abstraction layer module]

The source code of this header can be browsed online.

Description  

Io and memory address spaces functions access

Members  

Functions  

Members detail  

#define IOSPACE_H_  

This macro is declared in hexo/iospace.h source file, line 29.

uint16_t cpu_io_read_16(uintptr_t addr)  

IO space 16 bits read

Parameter list:

  • addr: read address

The return value is data value

uint32_t cpu_io_read_32(uintptr_t addr)  

IO space 32 bits read

Parameter list:

  • addr: read address

The return value is data value

uint8_t cpu_io_read_8(uintptr_t addr)  

IO space 8 bits read

Parameter list:

  • addr: read address

The return value is data value

void cpu_io_write_16(uintptr_t addr, uint16_t data)  

IO space 16 bits write

Parameter list:

  • addr: write address
  • data: value

void cpu_io_write_32(uintptr_t addr, uint32_t data)  

IO space 32 bits write

Parameter list:

  • addr: write address
  • data: value

void cpu_io_write_8(uintptr_t addr, uint8_t data)  

IO space 8 bits write

Parameter list:

  • addr: write address
  • data: value

uint32_t cpu_mem_mask_clear_32(uintptr_t addr, uint32_t mask)  

This function is declared in hexo/iospace.h source file, line 172.

uint32_t cpu_mem_mask_set_32(uintptr_t addr, uint32_t mask)  

This function is declared in hexo/iospace.h source file, line 164.

uint16_t cpu_mem_read_16(uintptr_t addr)  

Memory space 16 bits read

Parameter list:

  • addr: read address

The return value is data value

uint32_t cpu_mem_read_32(uintptr_t addr)  

Memory space 32 bits read

Parameter list:

  • addr: read address

The return value is data value

uint64_t cpu_mem_read_64(uintptr_t addr)  

Memory space 64 bits read

Parameter list:

  • addr: read address

The return value is data value

uint8_t cpu_mem_read_8(uintptr_t addr)  

Memory space 8 bits read

Parameter list:

  • addr: read address

The return value is data value

void cpu_mem_write_16(uintptr_t addr, uint16_t data)  

Memory space 16 bits write

Parameter list:

  • addr: write address
  • data: value

void cpu_mem_write_32(uintptr_t addr, uint32_t data)  

Memory space 32 bits write

Parameter list:

  • addr: write address
  • data: value

void cpu_mem_write_64(uintptr_t addr, uint64_t data)  

Memory space 64 bits write

Parameter list:

  • addr: write address
  • data: value

void cpu_mem_write_8(uintptr_t addr, uint8_t data)  

Memory space 8 bits write

Parameter list:

  • addr: write address
  • data: value

Valid XHTML 1.0 StrictGenerated by diaxen on Wed Oct 17 21:18:38 2018 using MkDoc