RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Enumerator
Ieer

Driver version

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...
 
typedef enum _iee_apc_region iee_apc_region_t
 APC IEE regions.
 
typedef enum _apc_iee_domain iee_apc_domain_t
 APC IEE domains.
 
void IEE_APC_GlobalEnable (IEE_APC_Type *base)
 Enable the APC IEE Region setting.
 
void IEE_APC_GlobalDisable (IEE_APC_Type *base)
 Disables the APC IEE Region setting.
 
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.
 
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.
 
void IEE_APC_RegionEnable (IEE_APC_Type *base, iee_apc_region_t region)
 Enable the IEE encryption/decryption and can lock this setting.
 
#define FSL_IEE_APC_DRIVER_VERSION   (MAKE_VERSION(2, 0, 1))
 IEE_APC driver version. Version 2.0.1.
 

Detailed Description

Macro Definition Documentation

◆ FSL_IEE_APC_DRIVER_VERSION

#define FSL_IEE_APC_DRIVER_VERSION   (MAKE_VERSION(2, 0, 1))

IEE_APC driver version. Version 2.0.1.

Current version: 2.0.1

Change log:

  • Version 2.0.0
    • Initial version
  • Version 2.0.1
    • Fixed MISRA issues.

Enumeration Type Documentation

◆ _apc_iee_domain

APC IEE domains.

Enumerator
kIEE_APC_Domain0 

APC IEE region 0

kIEE_APC_Domain1 

APC IEE region 1

◆ _iee_apc_region

APC IEE regions.

Enumerator
kIEE_APC_Region0 

APC IEE region 0

kIEE_APC_Region1 

APC IEE region 1

kIEE_APC_Region2 

APC IEE region 2

kIEE_APC_Region3 

APC IEE region 3

kIEE_APC_Region4 

APC IEE region 4

kIEE_APC_Region5 

APC IEE region 5

kIEE_APC_Region6 

APC IEE region 6

kIEE_APC_Region7 

APC IEE region 7

Function Documentation

◆ IEE_APC_GlobalDisable()

void IEE_APC_GlobalDisable ( IEE_APC_Type base)

Disables the APC IEE Region setting.

This function disables IOMUXC LPSR GPR and APC IEE for setting the region.

Parameters
baseAPC IEE peripheral address.

brief Disables the APC IEE Region setting.

This function disables IOMUXC LPSR GPR and APC IEE for setting the region.

param base APC IEE peripheral address.

◆ IEE_APC_GlobalEnable()

void IEE_APC_GlobalEnable ( IEE_APC_Type base)

Enable the APC IEE Region setting.

This function enables IOMUXC LPSR GPR and APC IEE for setting the region.

Parameters
baseAPC IEE peripheral address.

brief Enable the APC IEE Region setting.

This function enables IOMUXC LPSR GPR and APC IEE for setting the region.

param base APC IEE peripheral address.

◆ IEE_APC_LockRegionConfig()

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.

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

Parameters
baseAPC IEE peripheral address.
regionSelection of the APC IEE region to be locked.
domain

brief Lock the LPSR GPR and APC IEE configuration.

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

param base APC IEE peripheral address. param region Selection of the APC IEE region to be locked.

◆ IEE_APC_RegionEnable()

void IEE_APC_RegionEnable ( IEE_APC_Type base,
iee_apc_region_t  region 
)

Enable the IEE encryption/decryption and can lock this setting.

This function enables encryption/decryption by writting to IOMUXC LPSR GPR.

Parameters
baseAPC IEE peripheral address.
regionSelection of the APC IEE region to be enabled.

brief Enable the IEE encryption/decryption for specific region.

This function enables encryption/decryption by writting to IOMUXC LPSR GPR.

param base APC IEE peripheral address. param region Selection of the APC IEE region to be enabled.

◆ IEE_APC_SetRegionConfig()

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.

This function configures APC IEE Memory Region Descriptor according to region configuration structure.

Parameters
baseAPC IEE peripheral address.
regionSelection of the APC IEE region to be configured.
startAddrStart encryption adress for the selected APC IEE region.
endAddrEnd encryption adress for the selected APC IEE region.

brief Sets the APC IEE Memory Region setting.

This function configure IOMUXC LPSR GPR and APC IEE for the encryption region.

param base APC IEE peripheral address. param region Selection of the APC IEE region to be configured. param startAddr Start encryption adress for the selected APC IEE region. param endAddr End encryption adress for the selected APC IEE region.