![]() |
RTEMS 6.1
|
This header file provides a minimal shim for Xilinx drivers. More...
#include <stdint.h>#include <rtems/score/assert.h>#include <stdio.h>#include <string.h>#include <rtems/rtems/cache.h>#include <unistd.h>#include <bspopts.h>Go to the source code of this file.
Macros | |
| #define | INLINE inline |
| #define | XST_SUCCESS 0 |
| #define | XST_FAILURE 1 |
| #define | XST_DEVICE_IS_STARTED 5 |
| #define | XST_DEVICE_BUSY 21 |
| #define | XST_FLASH_TIMEOUT_ERROR 1134 |
| #define | XST_SPI_TRANSFER_DONE 1152 |
| #define | XST_SPI_COMMAND_ERROR 1162 |
| #define | XST_SPI_POLL_DONE 1163 |
| #define | Xil_AssertNonvoid(expr) _Assert(expr); |
| #define | Xil_AssertVoid(expr) _Assert(expr); |
| #define | Xil_AssertVoidAlways() _Assert(false); |
| #define | xil_printf(args...) printf(args) |
| #define | XIL_COMPONENT_IS_READY 0x1U |
| #define | Xil_MemCpy(dest, src, count) memcpy(dest, src, count) |
| #define | Xil_DCacheInvalidateRange(addr, len) |
| #define | Xil_DCacheFlushRange(addr, len) rtems_cache_flush_multiple_data_lines((void*)addr, len) |
Typedefs | |
| typedef uint8_t | u8 |
| typedef int8_t | s8 |
| typedef uint16_t | u16 |
| typedef uint32_t | u32 |
| typedef int32_t | s32 |
| typedef uint64_t | u64 |
| typedef intptr_t | INTPTR |
| typedef uintptr_t | UINTPTR |
This header file provides a minimal shim for Xilinx drivers.
| #define Xil_DCacheInvalidateRange | ( | addr, | |
| len | |||
| ) |