no-OS
Loading...
Searching...
No Matches
ftd2xx_gpio.h File Reference
#include <stdbool.h>
#include "no_os_gpio.h"
#include "ftd2xx.h"
Include dependency graph for ftd2xx_gpio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ftd2xx_gpio_init
 ftd2xx platform specific initialization parameter More...
 
struct  ftd2xx_gpio_desc
 ftd2xx platform specific gpio descriptor More...
 

Macros

#define FTD2XX_GPIO_PIN(x)
 
#define FTD2XX_GPIO_READ_CMD(id)
 
#define FTD2XX_MAX_PIN_NB   7
 
#define FTD2XX_MAX_PORT_NB   4
 

Variables

uint8_t ftd2xx_gpio_pins_dir [FTD2XX_MAX_PORT_NB]
 
uint8_t ftd2xx_gpio_pins_val [FTD2XX_MAX_PORT_NB]
 
const struct no_os_gpio_platform_ops ftd2xx_gpio_ops
 ftd2xx platform specific gpio platform ops structure
 

Macro Definition Documentation

◆ FTD2XX_GPIO_PIN

#define FTD2XX_GPIO_PIN ( x)
Value:
#define NO_OS_BIT(x)
Definition no_os_util.h:46

◆ FTD2XX_GPIO_READ_CMD

#define FTD2XX_GPIO_READ_CMD ( id)
Value:
(0x81 + (id))

◆ FTD2XX_MAX_PIN_NB

#define FTD2XX_MAX_PIN_NB   7

◆ FTD2XX_MAX_PORT_NB

#define FTD2XX_MAX_PORT_NB   4

Variable Documentation

◆ ftd2xx_gpio_ops

const struct no_os_gpio_platform_ops ftd2xx_gpio_ops
extern

ftd2xx platform specific gpio platform ops structure

ftd2xx platform specific gpio platform ops structure

◆ ftd2xx_gpio_pins_dir

uint8_t ftd2xx_gpio_pins_dir[FTD2XX_MAX_PORT_NB]
extern

◆ ftd2xx_gpio_pins_val

uint8_t ftd2xx_gpio_pins_val[FTD2XX_MAX_PORT_NB]
extern