Functions | |
| cy_en_hppass_status_t | Cy_HPPASS_AC_UpdateStateTransitionTable (uint8_t numEntries, const cy_stc_hppass_ac_stt_t *stateTransitionTable, uint8_t startState) |
| Used for adding or replacing state into State Transition Table - useful for multiple applications accessing the High Performance Programmable Analog Sub-System. More... | |
| __STATIC_INLINE cy_en_hppass_status_t | Cy_HPPASS_AC_LoadStateTransitionTable (uint8_t numEntries, const cy_stc_hppass_ac_stt_t *stateTransitionTable) |
| Configuring the State Transition Table of the the Autonomous Controller according to the provided settings. More... | |
| __STATIC_INLINE bool | Cy_HPPASS_AC_IsRunning (void) |
| Returns the running/stopped status of the Autonomous Controller. More... | |
| cy_en_hppass_status_t | Cy_HPPASS_AC_Start (uint8_t startState, uint16_t timeoutUs) |
| Starts the Autonomous Controller from the specified STT state. More... | |
| cy_en_hppass_status_t | Cy_HPPASS_AC_GetState (cy_stc_hppass_state_t *state) |
| Provides status of operation for the Autonomous Controller. More... | |
| __STATIC_INLINE bool | Cy_HPPASS_AC_IsBlockReady (void) |
| Returns the AC block ready status. More... | |
| cy_en_hppass_status_t Cy_HPPASS_AC_UpdateStateTransitionTable | ( | uint8_t | numEntries, |
| const cy_stc_hppass_ac_stt_t * | stateTransitionTable, | ||
| uint8_t | startState | ||
| ) |
Used for adding or replacing state into State Transition Table - useful for multiple applications accessing the High Performance Programmable Analog Sub-System.
| numEntries | Number of entries of the State Transition Table for replace. Valid range: 1...CY_HPPASS_AC_STT_SIZE. |
| stateTransitionTable | Pointer to array containing new set of configuration data for State Transition Table, which must be replaced or added. The pointer cannot be NULL. |
| startState | Defines state in the State Transition Table from which update of the content begins. Valid range: 0...CY_HPPASS_AC_STT_SIZE - 1. |
| __STATIC_INLINE cy_en_hppass_status_t Cy_HPPASS_AC_LoadStateTransitionTable | ( | uint8_t | numEntries, |
| const cy_stc_hppass_ac_stt_t * | stateTransitionTable | ||
| ) |
Configuring the State Transition Table of the the Autonomous Controller according to the provided settings.
| numEntries | Number of entries in the State Transition Table. Valid range: 1...CY_HPPASS_AC_STT_SIZE. |
| stateTransitionTable | Pointer to array containing configuration data for entire State Transition Table, cy_stc_hppass_ac_stt_t. The pointer cannot be NULL. |
| __STATIC_INLINE bool Cy_HPPASS_AC_IsRunning | ( | void | ) |
Returns the running/stopped status of the Autonomous Controller.
| cy_en_hppass_status_t Cy_HPPASS_AC_Start | ( | uint8_t | startState, |
| uint16_t | timeoutUs | ||
| ) |
Starts the Autonomous Controller from the specified STT state.
| startState | Starting state index in the State Transition Table. |
| timeoutUs | The startup timeout in microseconds. When non-zero - the function waits for the BLOCK_READY status and check the timeout. When zero - the function just triggers AC start command and returns immediately. |
| cy_en_hppass_status_t Cy_HPPASS_AC_GetState | ( | cy_stc_hppass_state_t * | state | ) |
Provides status of operation for the Autonomous Controller.
| state | Pointer to structure for receiving state regarding operation conditions of the Autonomous Controller, cy_stc_hppass_state_t. The pointer cannot be NULL. |
| __STATIC_INLINE bool Cy_HPPASS_AC_IsBlockReady | ( | void | ) |
Returns the AC block ready status.