![]() |
MCUXpresso SDK API Reference Manual
Rev 2.16.100
NXP Semiconductors
|
Typedefs | |
| typedef enum _iee_apc_region | iee_apc_region_t |
| APC IEE regions. More... | |
| typedef enum _apc_iee_domain | iee_apc_domain_t |
| APC IEE domains. More... | |
Enumerations | |
| enum | _iee_apc_region { kIEE_APC_Region0 = 0U, kIEE_APC_Region1 = 1U, kIEE_APC_Region2 = 2U, kIEE_APC_Region3 = 3U, kIEE_APC_Region4 = 4U, kIEE_APC_Region5 = 5U, kIEE_APC_Region6 = 6U, kIEE_APC_Region7 = 7U } |
| APC IEE regions. More... | |
| enum | _apc_iee_domain { kIEE_APC_Domain0 = 0U, kIEE_APC_Domain1 = 1U } |
| APC IEE domains. More... | |
Functions | |
| void | IEE_APC_GlobalEnable (IEE_APC_Type *base) |
| Enable the APC IEE Region setting. More... | |
| void | IEE_APC_GlobalDisable (IEE_APC_Type *base) |
| Disables the APC IEE Region setting. More... | |
| status_t | IEE_APC_SetRegionConfig (IEE_APC_Type *base, iee_apc_region_t region, uint32_t startAddr, uint32_t endAddr) |
| Sets the APC IEE Memory Region Descriptors. More... | |
| status_t | IEE_APC_LockRegionConfig (IEE_APC_Type *base, iee_apc_region_t region, iee_apc_domain_t domain) |
| Lock the LPSR GPR and APC IEE configuration. More... | |
| void | IEE_APC_RegionEnable (IEE_APC_Type *base, iee_apc_region_t region) |
| Enable the IEE encryption/decryption and can lock this setting. More... | |
Driver version | |
| #define | FSL_IEE_APC_DRIVER_VERSION (MAKE_VERSION(2, 0, 2)) |
| IEE_APC driver version. More... | |
| #define FSL_IEE_APC_DRIVER_VERSION (MAKE_VERSION(2, 0, 2)) |
Version 2.0.2.
Current version: 2.0.2
Change log:
| typedef enum _iee_apc_region iee_apc_region_t |
| typedef enum _apc_iee_domain iee_apc_domain_t |
| enum _iee_apc_region |
| enum _apc_iee_domain |
| void IEE_APC_GlobalEnable | ( | IEE_APC_Type * | base | ) |
This function enables IOMUXC LPSR GPR and APC IEE for setting the region.
| base | APC IEE peripheral address. |
| void IEE_APC_GlobalDisable | ( | IEE_APC_Type * | base | ) |
This function disables IOMUXC LPSR GPR and APC IEE for setting the region.
| base | APC IEE peripheral address. |
| status_t IEE_APC_SetRegionConfig | ( | IEE_APC_Type * | base, |
| iee_apc_region_t | region, | ||
| uint32_t | startAddr, | ||
| uint32_t | endAddr | ||
| ) |
This function configures APC IEE Memory Region Descriptor according to region configuration structure.
| base | APC IEE peripheral address. |
| region | Selection of the APC IEE region to be configured. |
| startAddr | Start encryption adress for the selected APC IEE region. |
| endAddr | End encryption adress for the selected APC IEE region. |
| status_t IEE_APC_LockRegionConfig | ( | IEE_APC_Type * | base, |
| iee_apc_region_t | region, | ||
| iee_apc_domain_t | domain | ||
| ) |
This function locks writting to IOMUXC LPSR GPR and APC IEE encryption region setting registers. Only system reset can clear the LPSR GPR and APC IEE-RDC_D0/1 Lock bit
| base | APC IEE peripheral address. |
| region | Selection of the APC IEE region to be locked. |
| domain | Core domain ID |
| void IEE_APC_RegionEnable | ( | IEE_APC_Type * | base, |
| iee_apc_region_t | region | ||
| ) |
This function enables encryption/decryption by writting to IOMUXC LPSR GPR.
| base | APC IEE peripheral address. |
| region | Selection of the APC IEE region to be enabled. |