Home
last modified time | relevance | path

Searched refs:ftHandleGpio (Results 1 – 1 of 1) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/src/usb/
Dftdi_ft4222.c45 static FT_HANDLE ftHandleGpio = (FT_HANDLE) NULL; //GPIO Handle variable
116 ftStatus = FT_OpenEx((PVOID)(uintptr_t) locationIdGpio, FT_OPEN_BY_LOCATION, &ftHandleGpio); in mraa_ftdi_ft4222_init()
122 FT4222_SetSuspendOut(ftHandleGpio, 0); in mraa_ftdi_ft4222_init()
123 FT4222_SetWakeUpInterrupt(ftHandleGpio, 0); in mraa_ftdi_ft4222_init()
124 ftStatus = FT4222_GPIO_Init(ftHandleGpio, pinDirection); in mraa_ftdi_ft4222_init()
239 if (FT4222_GPIO_Init(ftHandleGpio, pinDirection) != FT4222_OK) in ftdi_ft4222_set_internal_gpio_dir()
507 FT4222_STATUS ft4222Status = FT4222_GPIO_Read(ftHandleGpio, dev->phy_pin, &value); in mraa_ftdi_ft4222_gpio_read_replace()
531 FT4222_STATUS ft4222Status = FT4222_GPIO_Write(ftHandleGpio, dev->phy_pin, write_value); in mraa_ftdi_ft4222_gpio_write_replace()
594 …FT4222_STATUS status = FT4222_GPIO_GetTriggerStatus(ftHandleGpio, GPIO_PORT_IO_STATUS, &num_events… in mraa_ftdi_ft4222_gpio_interrupt_handler_replace()
601 …FT4222_GPIO_ReadTriggerQueue(ftHandleGpio, GPIO_PORT_IO_STATUS, event_buf, num_events, &num_events… in mraa_ftdi_ft4222_gpio_interrupt_handler_replace()