Functions | |
| __STATIC_INLINE cy_en_crypto_status_t | Cy_Crypto_Enable (CRYPTO_Type *base) |
| This function enables (turns on) the Crypto hardware. More... | |
| __STATIC_INLINE cy_en_crypto_status_t | Cy_Crypto_Disable (CRYPTO_Type *base) |
| This function disables (turns off) the Crypto hardware. More... | |
| __STATIC_INLINE bool | Cy_Crypto_IsEnabled (CRYPTO_Type *base) |
| The function checks whether the Crypto hardware is enabled. More... | |
| cy_en_crypto_status_t | Cy_Crypto_ClearState (CRYPTO_Type *base) |
| This function clears the current state of the Crypto block. More... | |
| __STATIC_INLINE void | Cy_Crypto_WaitForReady (CRYPTO_Type *base) |
| The function waits for any ongoing Crypto operation (AES, CRC, or SHA) to complete and returns when the hardware is no longer busy. More... | |
| __STATIC_INLINE cy_en_crypto_status_t Cy_Crypto_Enable | ( | CRYPTO_Type * | base | ) |
This function enables (turns on) the Crypto hardware.
| base | Base address of the Crypto block registers |
| __STATIC_INLINE cy_en_crypto_status_t Cy_Crypto_Disable | ( | CRYPTO_Type * | base | ) |
This function disables (turns off) the Crypto hardware.
| base | Base address of the Crypto block registers |
| __STATIC_INLINE bool Cy_Crypto_IsEnabled | ( | CRYPTO_Type * | base | ) |
The function checks whether the Crypto hardware is enabled.
| base | Base address of the Crypto block registers |
| cy_en_crypto_status_t Cy_Crypto_ClearState | ( | CRYPTO_Type * | base | ) |
This function clears the current state of the Crypto block.
All the Crypto block registers are set to their default (reset) values and the memory buffer is initialized with zeros.
| base | Base address of the Crypto block registers |
| __STATIC_INLINE void Cy_Crypto_WaitForReady | ( | CRYPTO_Type * | base | ) |
The function waits for any ongoing Crypto operation (AES, CRC, or SHA) to complete and returns when the hardware is no longer busy.
| base | Base address of the Crypto block registers |