CAT2 Peripheral Driver Library

General Description

Constants to be used for setting the drive mode of the pin.

Macros

#define CY_GPIO_DM_HIGHZ   (0x01UL)
 Digital High-Z. More...
 
#define CY_GPIO_DM_PULLUP   (0x02UL)
 Resistive Pull-Up. More...
 
#define CY_GPIO_DM_PULLDOWN   (0x03UL)
 Resistive Pull-Down. More...
 
#define CY_GPIO_DM_OD_DRIVESLOW   (0x04UL)
 Open Drain, Drives Low. More...
 
#define CY_GPIO_DM_OD_DRIVESHIGH   (0x05UL)
 Open Drain, Drives High. More...
 
#define CY_GPIO_DM_STRONG   (0x06UL)
 Strong Drive. More...
 
#define CY_GPIO_DM_PULLUP_DOWN   (0x07UL)
 Resistive Pull-Up/Down. More...
 
#define CY_GPIO_DM_ANALOG   (0x09UL)
 Analog High-Z. More...
 
#define CY_GPIO_DM_PULLUP_IN_OFF   (0x0AUL)
 Resistive Pull-Up. More...
 
#define CY_GPIO_DM_PULLDOWN_IN_OFF   (0x0BUL)
 Resistive Pull-Down. More...
 
#define CY_GPIO_DM_OD_DRIVESLOW_IN_OFF   (0x0CUL)
 Open Drain, Drives Low. More...
 
#define CY_GPIO_DM_OD_DRIVESHIGH_IN_OFF   (0x0DUL)
 Open Drain, Drives High. More...
 
#define CY_GPIO_DM_STRONG_IN_OFF   (0x0EUL)
 Strong Drive. More...
 
#define CY_GPIO_DM_PULLUP_DOWN_IN_OFF   (0x0FUL)
 Resistive Pull-Up/Down. More...
 

Macro Definition Documentation

◆ CY_GPIO_DM_HIGHZ

#define CY_GPIO_DM_HIGHZ   (0x01UL)

Digital High-Z.

Input buffer on

◆ CY_GPIO_DM_PULLUP

#define CY_GPIO_DM_PULLUP   (0x02UL)

Resistive Pull-Up.

Input buffer on

◆ CY_GPIO_DM_PULLDOWN

#define CY_GPIO_DM_PULLDOWN   (0x03UL)

Resistive Pull-Down.

Input buffer on

◆ CY_GPIO_DM_OD_DRIVESLOW

#define CY_GPIO_DM_OD_DRIVESLOW   (0x04UL)

Open Drain, Drives Low.

Input buffer on

◆ CY_GPIO_DM_OD_DRIVESHIGH

#define CY_GPIO_DM_OD_DRIVESHIGH   (0x05UL)

Open Drain, Drives High.

Input buffer on

◆ CY_GPIO_DM_STRONG

#define CY_GPIO_DM_STRONG   (0x06UL)

Strong Drive.

Input buffer on

◆ CY_GPIO_DM_PULLUP_DOWN

#define CY_GPIO_DM_PULLUP_DOWN   (0x07UL)

Resistive Pull-Up/Down.

Input buffer on

◆ CY_GPIO_DM_ANALOG

#define CY_GPIO_DM_ANALOG   (0x09UL)

Analog High-Z.

Input buffer off

◆ CY_GPIO_DM_PULLUP_IN_OFF

#define CY_GPIO_DM_PULLUP_IN_OFF   (0x0AUL)

Resistive Pull-Up.

Input buffer off

◆ CY_GPIO_DM_PULLDOWN_IN_OFF

#define CY_GPIO_DM_PULLDOWN_IN_OFF   (0x0BUL)

Resistive Pull-Down.

Input buffer off

◆ CY_GPIO_DM_OD_DRIVESLOW_IN_OFF

#define CY_GPIO_DM_OD_DRIVESLOW_IN_OFF   (0x0CUL)

Open Drain, Drives Low.

Input buffer off

◆ CY_GPIO_DM_OD_DRIVESHIGH_IN_OFF

#define CY_GPIO_DM_OD_DRIVESHIGH_IN_OFF   (0x0DUL)

Open Drain, Drives High.

Input buffer off

◆ CY_GPIO_DM_STRONG_IN_OFF

#define CY_GPIO_DM_STRONG_IN_OFF   (0x0EUL)

Strong Drive.

Input buffer off

◆ CY_GPIO_DM_PULLUP_DOWN_IN_OFF

#define CY_GPIO_DM_PULLUP_DOWN_IN_OFF   (0x0FUL)

Resistive Pull-Up/Down.

Input buffer off