how to set a GPIO | Cypress Semiconductor
how to set a GPIO
Does anyone know how to set a GPIO pin as a simple input pin ?
Take sample code for example , if we want to use the GPIO 45 pin as a simple input pin , we should set
io_cfg.gpioSimpleEn = 0 ;
io_cfg.gpioSimpleEn = 0x00002000 ;
How about the GPIO 17 pin ?