MTB CAT1 Peripheral driver library
cy_stc_gpio_prt_config_t Struct Reference

Description

This structure is used to initialize a port of GPIO pins.

Data Fields

uint32_t out
 Initial output data for the IO pins in the port.
 
uint32_t intrMask
 Interrupt enable mask for the port interrupt.
 
uint32_t intrCfg
 Port pin interrupt edge detection configuration.
 
uint32_t cfg
 Port pin drive modes and input buffer enable configuration.
 
uint32_t cfgIn
 Port pin input buffer configuration.
 
uint32_t cfgOut
 Port pin output buffer configuration.
 
uint32_t cfgSIO
 Port SIO pins configuration.
 
uint32_t sel0Active
 HSIOM selection for port pins 0,1,2,3.
 
uint32_t sel1Active
 HSIOM selection for port pins 4,5,6,7.
 
uint32_t cfgSlew
 Port slew rate configuration. More...
 
uint32_t cfgDriveSel0
 Drive strength configuration for pins 0,1,2,3. More...
 
uint32_t cfgDriveSel1
 Drive strength configuration for pins 4,5,6,7. More...
 
uint32_t nonSecMask
 HSIOM non secure mask for port pins 0-7. More...
 

Field Documentation

◆ cfgSlew

uint32_t cy_stc_gpio_prt_config_t::cfgSlew

Port slew rate configuration.

Note
This parameter is available for the CAT1B and CAT1D devices.

◆ cfgDriveSel0

uint32_t cy_stc_gpio_prt_config_t::cfgDriveSel0

Drive strength configuration for pins 0,1,2,3.

Note
This parameter is available for the CAT1B and CAT1D devices.

◆ cfgDriveSel1

uint32_t cy_stc_gpio_prt_config_t::cfgDriveSel1

Drive strength configuration for pins 4,5,6,7.

Note
This parameter is available for the CAT1B and CAT1D devices.

◆ nonSecMask

uint32_t cy_stc_gpio_prt_config_t::nonSecMask

HSIOM non secure mask for port pins 0-7.

Note
This parameter is available for the CAT1B and CAT1D devices.