Functions | |
cy_en_smartio_dutr_t | Cy_SmartIO_GetDuTr (SMARTIO_PRT_Type *base, cy_en_smartio_trnum_t trNum) |
Gets the data unit input trigger source. More... | |
cy_en_smartio_status_t | Cy_SmartIO_SetDuTr (SMARTIO_PRT_Type *base, cy_en_smartio_trnum_t trNum, cy_en_smartio_dutr_t trSrc) |
Sets the data unit input trigger source. More... | |
cy_en_smartio_status_t | Cy_SmartIO_SetDuTrAll (SMARTIO_PRT_Type *base, cy_en_smartio_dutr_t trSrc) |
Sets all the data unit input trigger sources. More... | |
__STATIC_INLINE cy_en_smartio_dudata_t | Cy_SmartIO_GetDuData (SMARTIO_PRT_Type *base, cy_en_smartio_datanum_t dataNum) |
Gets the data unit's input "data" source. More... | |
cy_en_smartio_status_t | Cy_SmartIO_SetDuData (SMARTIO_PRT_Type *base, cy_en_smartio_datanum_t dataNum, cy_en_smartio_dudata_t dataSrc) |
Sets the data unit's input "data" source. More... | |
__STATIC_INLINE cy_en_smartio_duopc_t | Cy_SmartIO_GetDuOpc (SMARTIO_PRT_Type *base) |
Gets the data unit's opcode. More... | |
__STATIC_INLINE cy_en_smartio_dusize_t | Cy_SmartIO_GetDuSize (SMARTIO_PRT_Type *base) |
Gets the data unit's opcode operand bit-width. More... | |
cy_en_smartio_status_t | Cy_SmartIO_SetDuOperation (SMARTIO_PRT_Type *base, cy_en_smartio_duopc_t opcode, cy_en_smartio_dusize_t size) |
Sets the data unit's opcode and operand bit-width. More... | |
__STATIC_INLINE uint8_t | Cy_SmartIO_GetDataReg (SMARTIO_PRT_Type *base) |
Gets the data unit's DATA register value. More... | |
cy_en_smartio_status_t | Cy_SmartIO_SetDataReg (SMARTIO_PRT_Type *base, uint8_t dataReg) |
Sets the data unit's DATA register value. More... | |
cy_en_smartio_dutr_t Cy_SmartIO_GetDuTr | ( | SMARTIO_PRT_Type * | base, |
cy_en_smartio_trnum_t | trNum | ||
) |
Gets the data unit input trigger source.
base | Pointer to the Smart I/O base address |
trNum | Input trigger number |
cy_en_smartio_status_t Cy_SmartIO_SetDuTr | ( | SMARTIO_PRT_Type * | base, |
cy_en_smartio_trnum_t | trNum, | ||
cy_en_smartio_dutr_t | trSrc | ||
) |
Sets the data unit input trigger source.
base | Pointer to the Smart I/O base address |
trNum | Input trigger number |
trSrc | Input trigger source |
cy_en_smartio_status_t Cy_SmartIO_SetDuTrAll | ( | SMARTIO_PRT_Type * | base, |
cy_en_smartio_dutr_t | trSrc | ||
) |
Sets all the data unit input trigger sources.
base | Pointer to the Smart I/O base address |
trSrc | Input trigger source |
__STATIC_INLINE cy_en_smartio_dudata_t Cy_SmartIO_GetDuData | ( | SMARTIO_PRT_Type * | base, |
cy_en_smartio_datanum_t | dataNum | ||
) |
Gets the data unit's input "data" source.
base | Pointer to the Smart I/O base address |
dataNum | Input data number |
cy_en_smartio_status_t Cy_SmartIO_SetDuData | ( | SMARTIO_PRT_Type * | base, |
cy_en_smartio_datanum_t | dataNum, | ||
cy_en_smartio_dudata_t | dataSrc | ||
) |
Sets the data unit's input "data" source.
base | Pointer to the Smart I/O base address |
dataNum | Input data number |
dataSrc | Data unit input trigger source |
__STATIC_INLINE cy_en_smartio_duopc_t Cy_SmartIO_GetDuOpc | ( | SMARTIO_PRT_Type * | base | ) |
Gets the data unit's opcode.
base | Pointer to the Smart I/O base address |
__STATIC_INLINE cy_en_smartio_dusize_t Cy_SmartIO_GetDuSize | ( | SMARTIO_PRT_Type * | base | ) |
Gets the data unit's opcode operand bit-width.
base | Pointer to the Smart I/O base address |
cy_en_smartio_status_t Cy_SmartIO_SetDuOperation | ( | SMARTIO_PRT_Type * | base, |
cy_en_smartio_duopc_t | opcode, | ||
cy_en_smartio_dusize_t | size | ||
) |
Sets the data unit's opcode and operand bit-width.
base | Pointer to the Smart I/O base address |
opcode | Data Unit opcode |
size | Data unit operand bit-width |
__STATIC_INLINE uint8_t Cy_SmartIO_GetDataReg | ( | SMARTIO_PRT_Type * | base | ) |
Gets the data unit's DATA register value.
base | Pointer to the Smart I/O base address |
cy_en_smartio_status_t Cy_SmartIO_SetDataReg | ( | SMARTIO_PRT_Type * | base, |
uint8_t | dataReg | ||
) |
Sets the data unit's DATA register value.
base | Pointer to the Smart I/O base address |
dataReg | DATA register value |