no-OS
Loading...
Searching...
No Matches
riscvrx_gpio.h
Go to the documentation of this file.
1/***************************************************************************/
39
40#ifndef LATTICE_GPIO_H_
41#define LATTICE_GPIO_H_
42
43/******************************************************************************/
44/***************************** Include Files **********************************/
45/******************************************************************************/
46
47#include <stdint.h>
48#include <stdbool.h>
49#include "no_os_gpio.h"
50
51/******************************************************************************/
52/*************************** Types Declarations *******************************/
53/******************************************************************************/
54
62 uint32_t base_address;
64 uint32_t lines_num;
66 uint32_t gpio_dirs;
67};
68
75 void *instance;
76};
77
78/******************************************************************************/
79/************************ Functions Declarations ******************************/
80/******************************************************************************/
81
86
87#endif /* LATTICE_GPIO_H_ */
Header file of GPIO Interface.
const struct no_os_gpio_platform_ops lattice_gpio_ops
lattice platform specific GPIO platform ops structure
Definition riscvrx_gpio.c:312
Lattice platform specific GPIO descriptor.
Definition riscvrx_gpio.h:73
void * instance
Definition riscvrx_gpio.h:75
Structure holding the initialization parameters for Lattice platform specific GPIO parameters.
Definition riscvrx_gpio.h:60
uint32_t gpio_dirs
Definition riscvrx_gpio.h:66
uint32_t lines_num
Definition riscvrx_gpio.h:64
uint32_t base_address
Definition riscvrx_gpio.h:62
Structure holding gpio function pointers that point to the platform specific function.
Definition no_os_gpio.h:115