PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Macros
Pin drive strength
PDL API Reference » GPIO (General Purpose Input Output) » Macros

## General Description

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

## Macros
#define | CY_GPIO_DRIVE_SEL_7 (0x07UL)
| 7 drive selection: 8mA/16mA drive current (normal/high speed IO)
#define | CY_GPIO_DRIVE_SEL_6 (0x06UL)
| 6 drive selection: 7mA/14mA drive current (normal/high speed IO)
#define | CY_GPIO_DRIVE_SEL_5 (0x05UL)
| 5 drive selection: 6mA/12mA drive current (normal/high speed IO)
#define | CY_GPIO_DRIVE_SEL_4 (0x04UL)
| 4 drive selection: 5mA/10mA drive current (normal/high speed IO)
#define | CY_GPIO_DRIVE_SEL_3 (0x03UL)
| 3 drive selection: 4mA/8mA drive current (normal/high speed IO)
#define | CY_GPIO_DRIVE_SEL_2 (0x02UL)
| 2 drive selection: 3mA/6mA drive current (normal/high speed IO)
#define | CY_GPIO_DRIVE_SEL_1 (0x01UL)
| 1 drive selection: 2mA/4mA drive current (normal/high speed IO)
#define | CY_GPIO_DRIVE_SEL_0 (0x00UL)
| 0 drive selection: 1mA/2mA drive current (normal/high speed IO)
#define | CY_GPIO_DRIVE_FULL (0x07UL)
| Full drive strength: Max drive current.
#define | CY_GPIO_DRIVE_1_2 (0x03UL)
| 1/2 drive strength: 1/2 drive current
#define | CY_GPIO_DRIVE_1_4 (0x01UL)
| 1/4 drive strength: 1/4 drive current
#define | CY_GPIO_DRIVE_1_8 (0x00UL)
| 1/8 drive strength: 1/8 drive current