STM8L15x Standard Peripherals Drivers
|
stm8l15x_aes.c File Reference
This file provides firmware functions to manage the following functionalities of the Advanced Encryption Standard (AES) peripheral:
- Configuration
- Read/Write operations
- DMA transfers management
- Interrupts and flags management.
#include "stm8l15x_aes.h"
Go to the source code of this file.
Functions | |
void | AES_ClearFlag (AES_FLAG_TypeDef AES_FLAG) |
Clears the AES flags. | |
void | AES_ClearITPendingBit (AES_IT_TypeDef AES_IT) |
Clears the AES's interrupt pending bits. | |
void | AES_Cmd (FunctionalState NewState) |
Enable the AES peripheral. | |
void | AES_DeInit (void) |
Deinitializes the AES peripheral. | |
void | AES_DMAConfig (AES_DMATransfer_TypeDef AES_DMATransfer, FunctionalState NewState) |
Configures the AES DMA interface. | |
FlagStatus | AES_GetFlagStatus (AES_FLAG_TypeDef AES_FLAG) |
Checks whether the specified AES flag is set or not. | |
ITStatus | AES_GetITStatus (AES_IT_TypeDef AES_IT) |
Checks whether the specified AES interrupt has occurred or not. | |
void | AES_ITConfig (AES_IT_TypeDef AES_IT, FunctionalState NewState) |
Enables or disables the specified AES interrupt. | |
void | AES_OperationModeConfig (AES_Operation_TypeDef AES_Operation) |
Configures the AES operation mode. | |
uint8_t | AES_ReadSubData (void) |
Returns the data in DOUTR register processed by AES peripheral. | |
uint8_t | AES_ReadSubKey (void) |
Returns the DOUTR register content. | |
void | AES_WriteSubData (uint8_t Data) |
Write data in DINR register to be processed by AES peripheral. | |
void | AES_WriteSubKey (uint8_t Key) |
Write key in DINR register. |
Detailed Description
This file provides firmware functions to manage the following functionalities of the Advanced Encryption Standard (AES) peripheral:
- Configuration
- Read/Write operations
- DMA transfers management
- Interrupts and flags management.
- Attention:
THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
© COPYRIGHT 2011 STMicroelectronics
Definition in file stm8l15x_aes.c.