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) |
| __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 bit | Channel |
|---|---|
| 0 | io0<->chip0 |
| 1 | io1<->chip1 |
| 2 | io2<->chip2 |
| 3 | io3<->chip3 |
| 4 | io4<->chip4 |
| 5 | io5<->chip5 |
| 6 | io6<->chip6 |
| 7 | io7<->chip7 |
| base | Pointer to the Smart I/O base address |
| __STATIC_INLINE cy_en_smartio_clksrc_t Cy_SmartIO_GetClock | ( | SMARTIO_PRT_Type * | base | ) |
Gets the clock source of the Smart I/O.
| base | Pointer to the Smart I/O base address |
| __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 |
| base | Pointer to the Smart I/O base address |
| __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 |
| base | Pointer to the Smart I/O base address |