EZR32 Wonder Gecko Software Documentation  ezr32wg-doc-5.1.2
ezr32wg_aes.h File Reference

Detailed Description

EZR32WG_AES register and bit field definitions.

Version
5.1.2

License

Copyright 2017 Silicon Laboratories, Inc. http://www.silabs.com

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. has no obligation to support this Software. Silicon Laboratories, Inc. is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.

Silicon Laboratories, Inc. will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.

Definition in file ezr32wg_aes.h.

Go to the source code of this file.

Data Structures

struct  AES_TypeDef
 

Macros

#define _AES_CMD_MASK   0x00000003UL
 
#define _AES_CMD_RESETVALUE   0x00000000UL
 
#define _AES_CMD_START_DEFAULT   0x00000000UL
 
#define _AES_CMD_START_MASK   0x1UL
 
#define _AES_CMD_START_SHIFT   0
 
#define _AES_CMD_STOP_DEFAULT   0x00000000UL
 
#define _AES_CMD_STOP_MASK   0x2UL
 
#define _AES_CMD_STOP_SHIFT   1
 
#define _AES_CTRL_AES256_DEFAULT   0x00000000UL
 
#define _AES_CTRL_AES256_MASK   0x2UL
 
#define _AES_CTRL_AES256_SHIFT   1
 
#define _AES_CTRL_BYTEORDER_DEFAULT   0x00000000UL
 
#define _AES_CTRL_BYTEORDER_MASK   0x40UL
 
#define _AES_CTRL_BYTEORDER_SHIFT   6
 
#define _AES_CTRL_DATASTART_DEFAULT   0x00000000UL
 
#define _AES_CTRL_DATASTART_MASK   0x10UL
 
#define _AES_CTRL_DATASTART_SHIFT   4
 
#define _AES_CTRL_DECRYPT_DEFAULT   0x00000000UL
 
#define _AES_CTRL_DECRYPT_MASK   0x1UL
 
#define _AES_CTRL_DECRYPT_SHIFT   0
 
#define _AES_CTRL_KEYBUFEN_DEFAULT   0x00000000UL
 
#define _AES_CTRL_KEYBUFEN_MASK   0x4UL
 
#define _AES_CTRL_KEYBUFEN_SHIFT   2
 
#define _AES_CTRL_MASK   0x00000077UL
 
#define _AES_CTRL_RESETVALUE   0x00000000UL
 
#define _AES_CTRL_XORSTART_DEFAULT   0x00000000UL
 
#define _AES_CTRL_XORSTART_MASK   0x20UL
 
#define _AES_CTRL_XORSTART_SHIFT   5
 
#define _AES_DATA_DATA_DEFAULT   0x00000000UL
 
#define _AES_DATA_DATA_MASK   0xFFFFFFFFUL
 
#define _AES_DATA_DATA_SHIFT   0
 
#define _AES_DATA_MASK   0xFFFFFFFFUL
 
#define _AES_DATA_RESETVALUE   0x00000000UL
 
#define _AES_IEN_DONE_DEFAULT   0x00000000UL
 
#define _AES_IEN_DONE_MASK   0x1UL
 
#define _AES_IEN_DONE_SHIFT   0
 
#define _AES_IEN_MASK   0x00000001UL
 
#define _AES_IEN_RESETVALUE   0x00000000UL
 
#define _AES_IF_DONE_DEFAULT   0x00000000UL
 
#define _AES_IF_DONE_MASK   0x1UL
 
#define _AES_IF_DONE_SHIFT   0
 
#define _AES_IF_MASK   0x00000001UL
 
#define _AES_IF_RESETVALUE   0x00000000UL
 
#define _AES_IFC_DONE_DEFAULT   0x00000000UL
 
#define _AES_IFC_DONE_MASK   0x1UL
 
#define _AES_IFC_DONE_SHIFT   0
 
#define _AES_IFC_MASK   0x00000001UL
 
#define _AES_IFC_RESETVALUE   0x00000000UL
 
#define _AES_IFS_DONE_DEFAULT   0x00000000UL
 
#define _AES_IFS_DONE_MASK   0x1UL
 
#define _AES_IFS_DONE_SHIFT   0
 
#define _AES_IFS_MASK   0x00000001UL
 
#define _AES_IFS_RESETVALUE   0x00000000UL
 
#define _AES_KEYHA_KEYHA_DEFAULT   0x00000000UL
 
#define _AES_KEYHA_KEYHA_MASK   0xFFFFFFFFUL
 
#define _AES_KEYHA_KEYHA_SHIFT   0
 
#define _AES_KEYHA_MASK   0xFFFFFFFFUL
 
#define _AES_KEYHA_RESETVALUE   0x00000000UL
 
#define _AES_KEYHB_KEYHB_DEFAULT   0x00000000UL
 
#define _AES_KEYHB_KEYHB_MASK   0xFFFFFFFFUL
 
#define _AES_KEYHB_KEYHB_SHIFT   0
 
#define _AES_KEYHB_MASK   0xFFFFFFFFUL
 
#define _AES_KEYHB_RESETVALUE   0x00000000UL
 
#define _AES_KEYHC_KEYHC_DEFAULT   0x00000000UL
 
#define _AES_KEYHC_KEYHC_MASK   0xFFFFFFFFUL
 
#define _AES_KEYHC_KEYHC_SHIFT   0
 
#define _AES_KEYHC_MASK   0xFFFFFFFFUL
 
#define _AES_KEYHC_RESETVALUE   0x00000000UL
 
#define _AES_KEYHD_KEYHD_DEFAULT   0x00000000UL
 
#define _AES_KEYHD_KEYHD_MASK   0xFFFFFFFFUL
 
#define _AES_KEYHD_KEYHD_SHIFT   0
 
#define _AES_KEYHD_MASK   0xFFFFFFFFUL
 
#define _AES_KEYHD_RESETVALUE   0x00000000UL
 
#define _AES_KEYLA_KEYLA_DEFAULT   0x00000000UL
 
#define _AES_KEYLA_KEYLA_MASK   0xFFFFFFFFUL
 
#define _AES_KEYLA_KEYLA_SHIFT   0
 
#define _AES_KEYLA_MASK   0xFFFFFFFFUL
 
#define _AES_KEYLA_RESETVALUE   0x00000000UL
 
#define _AES_KEYLB_KEYLB_DEFAULT   0x00000000UL
 
#define _AES_KEYLB_KEYLB_MASK   0xFFFFFFFFUL
 
#define _AES_KEYLB_KEYLB_SHIFT   0
 
#define _AES_KEYLB_MASK   0xFFFFFFFFUL
 
#define _AES_KEYLB_RESETVALUE   0x00000000UL
 
#define _AES_KEYLC_KEYLC_DEFAULT   0x00000000UL
 
#define _AES_KEYLC_KEYLC_MASK   0xFFFFFFFFUL
 
#define _AES_KEYLC_KEYLC_SHIFT   0
 
#define _AES_KEYLC_MASK   0xFFFFFFFFUL
 
#define _AES_KEYLC_RESETVALUE   0x00000000UL
 
#define _AES_KEYLD_KEYLD_DEFAULT   0x00000000UL
 
#define _AES_KEYLD_KEYLD_MASK   0xFFFFFFFFUL
 
#define _AES_KEYLD_KEYLD_SHIFT   0
 
#define _AES_KEYLD_MASK   0xFFFFFFFFUL
 
#define _AES_KEYLD_RESETVALUE   0x00000000UL
 
#define _AES_STATUS_MASK   0x00000001UL
 
#define _AES_STATUS_RESETVALUE   0x00000000UL
 
#define _AES_STATUS_RUNNING_DEFAULT   0x00000000UL
 
#define _AES_STATUS_RUNNING_MASK   0x1UL
 
#define _AES_STATUS_RUNNING_SHIFT   0
 
#define _AES_XORDATA_MASK   0xFFFFFFFFUL
 
#define _AES_XORDATA_RESETVALUE   0x00000000UL
 
#define _AES_XORDATA_XORDATA_DEFAULT   0x00000000UL
 
#define _AES_XORDATA_XORDATA_MASK   0xFFFFFFFFUL
 
#define _AES_XORDATA_XORDATA_SHIFT   0
 
#define AES_CMD_START   (0x1UL << 0)
 
#define AES_CMD_START_DEFAULT   (_AES_CMD_START_DEFAULT << 0)
 
#define AES_CMD_STOP   (0x1UL << 1)
 
#define AES_CMD_STOP_DEFAULT   (_AES_CMD_STOP_DEFAULT << 1)
 
#define AES_CTRL_AES256   (0x1UL << 1)
 
#define AES_CTRL_AES256_DEFAULT   (_AES_CTRL_AES256_DEFAULT << 1)
 
#define AES_CTRL_BYTEORDER   (0x1UL << 6)
 
#define AES_CTRL_BYTEORDER_DEFAULT   (_AES_CTRL_BYTEORDER_DEFAULT << 6)
 
#define AES_CTRL_DATASTART   (0x1UL << 4)
 
#define AES_CTRL_DATASTART_DEFAULT   (_AES_CTRL_DATASTART_DEFAULT << 4)
 
#define AES_CTRL_DECRYPT   (0x1UL << 0)
 
#define AES_CTRL_DECRYPT_DEFAULT   (_AES_CTRL_DECRYPT_DEFAULT << 0)
 
#define AES_CTRL_KEYBUFEN   (0x1UL << 2)
 
#define AES_CTRL_KEYBUFEN_DEFAULT   (_AES_CTRL_KEYBUFEN_DEFAULT << 2)
 
#define AES_CTRL_XORSTART   (0x1UL << 5)
 
#define AES_CTRL_XORSTART_DEFAULT   (_AES_CTRL_XORSTART_DEFAULT << 5)
 
#define AES_DATA_DATA_DEFAULT   (_AES_DATA_DATA_DEFAULT << 0)
 
#define AES_IEN_DONE   (0x1UL << 0)
 
#define AES_IEN_DONE_DEFAULT   (_AES_IEN_DONE_DEFAULT << 0)
 
#define AES_IF_DONE   (0x1UL << 0)
 
#define AES_IF_DONE_DEFAULT   (_AES_IF_DONE_DEFAULT << 0)
 
#define AES_IFC_DONE   (0x1UL << 0)
 
#define AES_IFC_DONE_DEFAULT   (_AES_IFC_DONE_DEFAULT << 0)
 
#define AES_IFS_DONE   (0x1UL << 0)
 
#define AES_IFS_DONE_DEFAULT   (_AES_IFS_DONE_DEFAULT << 0)
 
#define AES_KEYHA_KEYHA_DEFAULT   (_AES_KEYHA_KEYHA_DEFAULT << 0)
 
#define AES_KEYHB_KEYHB_DEFAULT   (_AES_KEYHB_KEYHB_DEFAULT << 0)
 
#define AES_KEYHC_KEYHC_DEFAULT   (_AES_KEYHC_KEYHC_DEFAULT << 0)
 
#define AES_KEYHD_KEYHD_DEFAULT   (_AES_KEYHD_KEYHD_DEFAULT << 0)
 
#define AES_KEYLA_KEYLA_DEFAULT   (_AES_KEYLA_KEYLA_DEFAULT << 0)
 
#define AES_KEYLB_KEYLB_DEFAULT   (_AES_KEYLB_KEYLB_DEFAULT << 0)
 
#define AES_KEYLC_KEYLC_DEFAULT   (_AES_KEYLC_KEYLC_DEFAULT << 0)
 
#define AES_KEYLD_KEYLD_DEFAULT   (_AES_KEYLD_KEYLD_DEFAULT << 0)
 
#define AES_STATUS_RUNNING   (0x1UL << 0)
 
#define AES_STATUS_RUNNING_DEFAULT   (_AES_STATUS_RUNNING_DEFAULT << 0)
 
#define AES_XORDATA_XORDATA_DEFAULT   (_AES_XORDATA_XORDATA_DEFAULT << 0)