Functions | |
void | Cy_RAM_ECC_Init (CPUSS_Type *base, uint32_t config) |
Initializes SRAM ECC with the configuration value. More... | |
void | Cy_RAM_SetupEccInjection (CPUSS_Type *base, const uint32_t address, const uint8_t parity) |
Sets the CPUSS_ECC_TEST register to set up ECC injection. More... | |
void | Cy_RAM_EnableEccInjection (CPUSS_Type *base) |
Sets the CPUSS_RAM_CTL register to enable ECC injection. More... | |
void | Cy_RAM_DisableEccInjection (CPUSS_Type *base) |
Set CPUSS_RAM_CTL register to disable ECC injection. More... | |
bool | Cy_RAM_IsEccInjectionEnabled (CPUSS_Type *base) |
Check whether the ECC error injection of SRAM is enabled. More... | |
uint32_t | Cy_RAM_GetEccWordAddr (CPUSS_Type *base) |
Gets the ECC injection word address. More... | |
uint8_t | Cy_RAM_GetEccSyndrome (CPUSS_Type *base) |
Gets the ECC error Syndrome. More... | |
void | Cy_RAM_ClearEccSyndrome (CPUSS_Type *base) |
Clears the valid status of ECC capture address and syndrome. More... | |
bool | Cy_RAM_IsWritebufferEmpty (CPUSS_Type *base) |
Checks whether the Write Buffer is empty or not. More... | |
void Cy_RAM_ECC_Init | ( | CPUSS_Type * | base, |
uint32_t | config | ||
) |
Initializes SRAM ECC with the configuration value.
base | The pointer to the structure, which describes the RAM (CPU Subsystem) instance registers |
config | Composite config bitmask, see RAM initialization parameters |
void Cy_RAM_SetupEccInjection | ( | CPUSS_Type * | base, |
const uint32_t | address, | ||
const uint8_t | parity | ||
) |
Sets the CPUSS_ECC_TEST register to set up ECC injection.
base | The pointer to the structure, which describes RAM (CPU Subsystem) instance registers |
address | Specifies the address where an ECC error will be injected. |
parity | Specifies the parity (ECC syndrome), which will be injected to the word address. |
void Cy_RAM_EnableEccInjection | ( | CPUSS_Type * | base | ) |
Sets the CPUSS_RAM_CTL register to enable ECC injection.
base | The pointer to the structure, which describes RAM (CPU Subsystem) instance registers |
void Cy_RAM_DisableEccInjection | ( | CPUSS_Type * | base | ) |
Set CPUSS_RAM_CTL register to disable ECC injection.
base | The pointer to the structure, which describes RAM (CPU Subsystem) instance registers |
bool Cy_RAM_IsEccInjectionEnabled | ( | CPUSS_Type * | base | ) |
Check whether the ECC error injection of SRAM is enabled.
base | The pointer to the structure, which describes RAM (CPU Subsystem) instance registers |
uint32_t Cy_RAM_GetEccWordAddr | ( | CPUSS_Type * | base | ) |
Gets the ECC injection word address.
base | The pointer to the structure, which describes RAM (CPU Subsystem) instance registers |
uint8_t Cy_RAM_GetEccSyndrome | ( | CPUSS_Type * | base | ) |
Gets the ECC error Syndrome.
base | The pointer to the structure, which describes RAM (CPU Subsystem) instance registers |
void Cy_RAM_ClearEccSyndrome | ( | CPUSS_Type * | base | ) |
Clears the valid status of ECC capture address and syndrome.
base | The pointer to the structure, which describes RAM (CPU Subsystem) instance registers |
bool Cy_RAM_IsWritebufferEmpty | ( | CPUSS_Type * | base | ) |
Checks whether the Write Buffer is empty or not.
base | The pointer to the structure, which describes RAM (CPU Subsystem) instance registers |