Defines all functions of mcuxClEls_GlitchDetector. More...
Functions | |
MCUXCLELS_API | MCUX_CSSL_FP_PROTECTED_TYPE (mcuxClEls_Status_t) mcuxClEls_GlitchDetector_LoadConfig_Async(uint8_t const *pInput) |
Loads a glitch detector configuration. More... | |
Defines all functions of mcuxClEls_GlitchDetector.
MCUXCLELS_API MCUX_CSSL_FP_PROTECTED_TYPE | ( | mcuxClEls_Status_t | ) | const |
Loads a glitch detector configuration.
Resets the glitch detector's event counter.
Reads the glitch detector's event counter.
Calculates optimal ELS glitch detector configuration and writes it to system memory.
Call #mcuxClEls_WaitForOperation to complete the operation.
[in] | Pointer | to the memory area which contains the glitch detector configuration. The size is fixed at MCUXCLELS_GLITCHDETECTOR_CFG_SIZE bytes. |
MCUXCLELS_STATUS_SW_INVALID_PARAM | if invalid parameters were specified |
MCUXCLELS_STATUS_SW_CANNOT_INTERRUPT | if a running operation prevented the request |
MCUXCLELS_STATUS_OK_WAIT | on successful request |
Call #mcuxClEls_WaitForOperation to complete the operation.
[out] | Pointer | to the memory area which receives the glitch detector trim value. The size is fixed at MCUXCLELS_GLITCHDETECTOR_TRIM_SIZE bytes. |
MCUXCLELS_STATUS_SW_INVALID_PARAM | if invalid parameters were specified |
MCUXCLELS_STATUS_SW_CANNOT_INTERRUPT | if a running operation prevented the request |
MCUXCLELS_STATUS_OK_WAIT | on successful request |
This function converts the event counter from Gray code to an unsigned number.
[in] | Pointer | to the word where the counter value will be stored. |
MCUXCLELS_STATUS_OK | on successful request |
MCUXCLELS_STATUS_OK | on successful request |