PSOC E8XXGP Device Support Library
Loading...
Searching...
No Matches

General Description

Functions

__STATIC_INLINE uint8_t Cy_SmartIO_GetChBypass (SMARTIO_PRT_Type *base)
 Gets the bypass/route state of all 8 channels in the Smart I/O.
 
cy_en_smartio_status_t Cy_SmartIO_SetChBypass (SMARTIO_PRT_Type *base, uint8_t bypassMask)
 
__STATIC_INLINE cy_en_smartio_clksrc_t Cy_SmartIO_GetClock (SMARTIO_PRT_Type *base)
 Gets the clock source of the Smart I/O.
 
cy_en_smartio_status_t Cy_SmartIO_SetClock (SMARTIO_PRT_Type *base, cy_en_smartio_clksrc_t clkSrc)
 
__STATIC_INLINE uint8_t Cy_SmartIO_GetIoSync (SMARTIO_PRT_Type *base)
 Gets the synchronization mode of the 8 I/O terminals.
 
cy_en_smartio_status_t Cy_SmartIO_SetIoSync (SMARTIO_PRT_Type *base, uint8_t ioSyncEn)
 
__STATIC_INLINE uint8_t Cy_SmartIO_GetChipSync (SMARTIO_PRT_Type *base)
 Gets the synchronization mode of the 8 chip-side terminals.
 
cy_en_smartio_status_t Cy_SmartIO_SetChipSync (SMARTIO_PRT_Type *base, uint8_t chipSyncEn)
 
cy_en_smartio_status_t Cy_SmartIO_HoldOverride (SMARTIO_PRT_Type *base, bool hldOvr)
 

Function Documentation

◆ Cy_SmartIO_GetChBypass()

__STATIC_INLINE uint8_t Cy_SmartIO_GetChBypass ( SMARTIO_PRT_Type base)

Gets the bypass/route state of all 8 channels in the Smart I/O.

Bypass bitChannel
0 io0<->chip0
1 io1<->chip1
2 io2<->chip2
3 io3<->chip3
4 io4<->chip4
5 io5<->chip5
6 io6<->chip6
7 io7<->chip7
Parameters
basePointer to the Smart I/O base address
Returns
Bypass/Route state of 8 io<->chip channels (bits [7:0]): 1=bypass, 0=routed.
Function Usage
/* Refer to the Cy_SmartIO_SetChBypass() function usage example */

◆ Cy_SmartIO_GetClock()

__STATIC_INLINE cy_en_smartio_clksrc_t Cy_SmartIO_GetClock ( SMARTIO_PRT_Type base)

Gets the clock source of the Smart I/O.

Parameters
basePointer to the Smart I/O base address
Returns
Clock source
Function Usage
/* Refer to the Cy_SmartIO_SetClock() function usage example */

◆ Cy_SmartIO_GetIoSync()

__STATIC_INLINE uint8_t Cy_SmartIO_GetIoSync ( SMARTIO_PRT_Type base)

Gets the synchronization mode of the 8 I/O terminals.

Sync bit I/O terminal
0 io0
1 io1
2 io2
3 io3
4 io4
5 io5
6 io6
7 io7
Parameters
basePointer to the Smart I/O base address
Returns
Sync mode of 8 I/O terminals (bits [7:0]): 1=sync, 0=no sync.
Function Usage
/* Refer to the Cy_SmartIO_SetIoSync() function usage example */

◆ Cy_SmartIO_GetChipSync()

__STATIC_INLINE uint8_t Cy_SmartIO_GetChipSync ( SMARTIO_PRT_Type base)

Gets the synchronization mode of the 8 chip-side terminals.

Sync bit chip terminal
0 chip0
1 chip1
2 chip2
3 chip3
4 chip4
5 chip5
6 chip6
7 chip7
Parameters
basePointer to the Smart I/O base address
Returns
Sync mode of 8 chip-side terminals (bits [7:0]): 1=sync, 0=no sync.
Function Usage
/* Refer to the Cy_SmartIO_SetChipSync() function usage example */