Functions | |
__STATIC_INLINE void | Cy_GPIO_SetVregEn (GPIO_PRT_Type *base, uint32_t pinNum, uint32_t value) |
Configures the SIO pin pair output buffer regulation mode. More... | |
__STATIC_INLINE uint32_t | Cy_GPIO_GetVregEn (GPIO_PRT_Type *base, uint32_t pinNum) |
Returns the SIO pin pair output buffer regulation mode. More... | |
__STATIC_INLINE void | Cy_GPIO_SetIbufMode (GPIO_PRT_Type *base, uint32_t pinNum, uint32_t value) |
Configures the SIO pin pair input buffer mode. More... | |
__STATIC_INLINE uint32_t | Cy_GPIO_GetIbufMode (GPIO_PRT_Type *base, uint32_t pinNum) |
Returns the SIO pin pair input buffer mode. More... | |
__STATIC_INLINE void | Cy_GPIO_SetVtripSel (GPIO_PRT_Type *base, uint32_t pinNum, uint32_t value) |
Configures the SIO pin pair input buffer trip point. More... | |
__STATIC_INLINE uint32_t | Cy_GPIO_GetVtripSel (GPIO_PRT_Type *base, uint32_t pinNum) |
Returns the SIO pin pair input buffer trip point. More... | |
__STATIC_INLINE void | Cy_GPIO_SetVrefSel (GPIO_PRT_Type *base, uint32_t pinNum, uint32_t value) |
Configures the SIO reference voltage for the input buffer trip point. More... | |
__STATIC_INLINE uint32_t | Cy_GPIO_GetVrefSel (GPIO_PRT_Type *base, uint32_t pinNum) |
Returns the SIO reference voltage for the input buffer trip point. More... | |
__STATIC_INLINE void | Cy_GPIO_SetVohSel (GPIO_PRT_Type *base, uint32_t pinNum, uint32_t value) |
Configures the regulated output reference multiplier for the SIO pin pair. More... | |
__STATIC_INLINE uint32_t | Cy_GPIO_GetVohSel (GPIO_PRT_Type *base, uint32_t pinNum) |
Returns the regulated output reference multiplier for the SIO pin pair. More... | |
__STATIC_INLINE void Cy_GPIO_SetVregEn | ( | GPIO_PRT_Type * | base, |
uint32_t | pinNum, | ||
uint32_t | value | ||
) |
Configures the SIO pin pair output buffer regulation mode.
Note that this function has no effect on non-SIO pins.
base | Pointer to the pin's port register base address |
pinNum | Position of the pin bit-field within the port register |
value | SIO pair output buffer regulator mode. Options are detailed in SIO output buffer mode macros |
__STATIC_INLINE uint32_t Cy_GPIO_GetVregEn | ( | GPIO_PRT_Type * | base, |
uint32_t | pinNum | ||
) |
Returns the SIO pin pair output buffer regulation mode.
Note that this function has no effect on non-SIO pins.
base | Pointer to the pin's port register base address |
pinNum | Position of the pin bit-field within the port register |
__STATIC_INLINE void Cy_GPIO_SetIbufMode | ( | GPIO_PRT_Type * | base, |
uint32_t | pinNum, | ||
uint32_t | value | ||
) |
Configures the SIO pin pair input buffer mode.
Note that this function has no effect on non-SIO pins.
base | Pointer to the pin's port register base address |
pinNum | Position of the pin bit-field within the port register |
value | SIO pair input buffer mode. Options are detailed in SIO input buffer mode macros |
__STATIC_INLINE uint32_t Cy_GPIO_GetIbufMode | ( | GPIO_PRT_Type * | base, |
uint32_t | pinNum | ||
) |
Returns the SIO pin pair input buffer mode.
Note that this function has no effect on non-SIO pins.
base | Pointer to the pin's port register base address |
pinNum | Position of the pin bit-field within the port register |
__STATIC_INLINE void Cy_GPIO_SetVtripSel | ( | GPIO_PRT_Type * | base, |
uint32_t | pinNum, | ||
uint32_t | value | ||
) |
Configures the SIO pin pair input buffer trip point.
Note that this function has no effect on non-SIO pins.
base | Pointer to the pin's port register base address |
pinNum | Position of the pin bit-field within the port register |
value | SIO pair input buffer trip point. Options are detailed in SIO input buffer trip-point macros |
__STATIC_INLINE uint32_t Cy_GPIO_GetVtripSel | ( | GPIO_PRT_Type * | base, |
uint32_t | pinNum | ||
) |
Returns the SIO pin pair input buffer trip point.
Note that this function has no effect on non-SIO pins.
base | Pointer to the pin's port register base address |
pinNum | Position of the pin bit-field within the port register |
__STATIC_INLINE void Cy_GPIO_SetVrefSel | ( | GPIO_PRT_Type * | base, |
uint32_t | pinNum, | ||
uint32_t | value | ||
) |
Configures the SIO reference voltage for the input buffer trip point.
Note that this function has no effect on non-SIO pins.
base | Pointer to the pin's port register base address |
pinNum | Position of the pin bit-field within the port register |
value | SIO pair reference voltage. Options are detailed in SIO reference voltage for input buffer trip-point macros |
__STATIC_INLINE uint32_t Cy_GPIO_GetVrefSel | ( | GPIO_PRT_Type * | base, |
uint32_t | pinNum | ||
) |
Returns the SIO reference voltage for the input buffer trip point.
Note that this function has no effect on non-SIO pins.
base | Pointer to the pin's port register base address |
pinNum | Position of the pin bit-field within the port register |
__STATIC_INLINE void Cy_GPIO_SetVohSel | ( | GPIO_PRT_Type * | base, |
uint32_t | pinNum, | ||
uint32_t | value | ||
) |
Configures the regulated output reference multiplier for the SIO pin pair.
The regulated output reference controls both the output level of digital output pin and the input trip point of digital input pin in the SIO pair.
Note that this function has no effect on non-SIO pins.
base | Pointer to the pin's port register base address |
pinNum | Position of the pin bit-field within the port register |
value | SIO pair reference voltage. Options are detailed in Regulated output voltage level (Voh) and input buffer trip-point of an SIO pair macros |
__STATIC_INLINE uint32_t Cy_GPIO_GetVohSel | ( | GPIO_PRT_Type * | base, |
uint32_t | pinNum | ||
) |
Returns the regulated output reference multiplier for the SIO pin pair.
Note that this function has no effect on non-SIO pins.
base | Pointer to the pin's port register base address |
pinNum | Position of the pin bit-field within the port register |