no-OS
Loading...
Searching...
No Matches
no_os_axi_io.h File Reference

Header file of AXI IO. More...

#include <stdint.h>
Include dependency graph for no_os_axi_io.h:

Functions

int32_t no_os_axi_io_read (uint32_t base, uint32_t offset, uint32_t *data)
 AXI IO Altera specific read function.
 
int32_t no_os_axi_io_write (uint32_t base, uint32_t offset, uint32_t data)
 AXI IO Altera specific write function.
 

Detailed Description

Header file of AXI IO.

Author
Antoniu Miclaus (anton.nosp@m.iu.m.nosp@m.iclau.nosp@m.s@an.nosp@m.alog..nosp@m.com)

Copyright 2019(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ no_os_axi_io_read()

int32_t no_os_axi_io_read ( uint32_t base,
uint32_t offset,
uint32_t * data )

AXI IO Altera specific read function.

Parameters
base- Base address
offset- Address offset
data- variable where returned data is stored
Returns
0 in case of success, -1 otherwise.

AXI IO Altera specific read function.

Parameters
base- Base address
offset- Address offset
data- variable where returned data is stored
Returns
0 in case of success, -1 otherwise.

AXI IO Altera specific read function.

Parameters
base- UIO index (/dev/uioX)/base address.
offset- Address offset.
data- Location where read data will be stored.
Returns
0 in case of success, -1 otherwise.

◆ no_os_axi_io_write()

int32_t no_os_axi_io_write ( uint32_t base,
uint32_t offset,
uint32_t data )

AXI IO Altera specific write function.

Parameters
base- Base address
offset- Address offset
data- data to be written
Returns
0 in case of success, -1 otherwise.

AXI IO Altera specific write function.

Parameters
base- Base address
offset- Address offset
data- data to be written.
Returns
0 in case of success, -1 otherwise.

AXI IO Altera specific write function.

Parameters
base- UIO index (/dev/uioX).
offset- Address offset.
data- Data to be written.
Returns
0 in case of success, -1 otherwise.