![]() |
no-OS
|
Implementation of AXI IO through UIO/devmem. More...
#include <fcntl.h>#include <inttypes.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/mman.h>#include "no_os_error.h"#include "no_os_axi_io.h"Functions | |
| int32_t | no_os_axi_io_read (uint32_t base, uint32_t offset, uint32_t *data) |
| AXI IO through UIO/devmem read function. | |
| int32_t | no_os_axi_io_write (uint32_t base, uint32_t offset, uint32_t data) |
| AXI IO through UIO specific write function. | |
Implementation of AXI IO through UIO/devmem.
Copyright 2020(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| int32_t no_os_axi_io_read | ( | uint32_t | base, |
| uint32_t | offset, | ||
| uint32_t * | data ) |
AXI IO through UIO/devmem read function.
AXI IO Altera specific read function.
| base | - UIO index (/dev/uioX)/base address. |
| offset | - Address offset. |
| data | - Location where read data will be stored. |
| int32_t no_os_axi_io_write | ( | uint32_t | base, |
| uint32_t | offset, | ||
| uint32_t | data ) |
AXI IO through UIO specific write function.
AXI IO Altera specific write function.
| base | - UIO index (/dev/uioX). |
| offset | - Address offset. |
| data | - Data to be written. |