FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gap8/pmsis/drivers/udma/hyperbus/hyperbus.c File Reference

Functions

void pi_hyper_conf_init (struct pi_hyper_conf *conf)
 
int32_t pi_hyper_open (struct pi_device *device)
 
void pi_hyper_close (struct pi_device *device)
 
void pi_hyper_read (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size)
 
void pi_hyper_read_async (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, struct pi_task *callback)
 
void pi_hyper_write (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size)
 
void pi_hyper_write_async (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, struct pi_task *callback)
 
void pi_hyper_read_2d (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, uint32_t stride, uint32_t length)
 
void pi_hyper_read_2d_async (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, uint32_t stride, uint32_t length, struct pi_task *callback)
 
void pi_hyper_write_2d (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, uint32_t stride, uint32_t length)
 
void pi_hyper_write_2d_async (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, uint32_t stride, uint32_t length, struct pi_task *callback)
 

Variables

static uint8_t __hyper_periph_open
 
struct hyper_driver_fifo__global_hyper_driver_fifo []
 
static uint32_t read_val
 
static uint32_t write_val
 

Function Documentation

void pi_hyper_conf_init ( struct pi_hyper_conf *  conf)

References memset().

void pi_hyper_read ( struct pi_device *  device,
uint32_t  hyper_addr,
void *  buffer,
uint32_t  size 
)
void pi_hyper_read_2d ( struct pi_device *  device,
uint32_t  hyper_addr,
void *  buffer,
uint32_t  size,
uint32_t  stride,
uint32_t  length 
)
void pi_hyper_read_2d_async ( struct pi_device *  device,
uint32_t  hyper_addr,
void *  buffer,
uint32_t  size,
uint32_t  stride,
uint32_t  length,
struct pi_task *  callback 
)
void pi_hyper_read_async ( struct pi_device *  device,
uint32_t  hyper_addr,
void *  buffer,
uint32_t  size,
struct pi_task *  callback 
)
void pi_hyper_write ( struct pi_device *  device,
uint32_t  hyper_addr,
void *  buffer,
uint32_t  size 
)
void pi_hyper_write_2d ( struct pi_device *  device,
uint32_t  hyper_addr,
void *  buffer,
uint32_t  size,
uint32_t  stride,
uint32_t  length 
)
void pi_hyper_write_2d_async ( struct pi_device *  device,
uint32_t  hyper_addr,
void *  buffer,
uint32_t  size,
uint32_t  stride,
uint32_t  length,
struct pi_task *  callback 
)
void pi_hyper_write_async ( struct pi_device *  device,
uint32_t  hyper_addr,
void *  buffer,
uint32_t  size,
struct pi_task *  callback 
)

Variable Documentation

struct hyper_driver_fifo* __global_hyper_driver_fifo[]
uint8_t __hyper_periph_open
static

Referenced by pi_hyper_close(), and pi_hyper_open().

uint32_t read_val
static
uint32_t write_val
static