RTEMS
5.1
|
#include "chip.h"
Functions | |
void | ICM_Enable (void) |
Enable ICM, the ICM controller is activated. | |
void | ICM_Disable (void) |
Disable ICM, if a region is active, this region is terminated. | |
void | ICM_SoftReset (void) |
Resets the ICM controller. | |
void | ICM_ReComputeHash (uint8_t region) |
Recompute Internal hash. More... | |
void | ICM_EnableMonitor (uint8_t region) |
Enable region monitoring for given region. More... | |
void | ICM_DisableMonitor (uint8_t region) |
Disable region monitoring for given region. More... | |
void | ICM_Configure (uint32_t mode) |
Configures an ICM peripheral with the specified parameters. More... | |
void | ICM_EnableIt (uint32_t sources) |
Enables the selected interrupts sources on a ICM peripheral. More... | |
void | ICM_DisableIt (uint32_t sources) |
Disables the selected interrupts sources on a ICM peripheral. More... | |
uint32_t | ICM_GetIntStatus (void) |
Get the current interrupt status register of the given ICM peripheral. More... | |
uint32_t | ICM_GetStatus (void) |
Get the current status register of the given ICM peripheral. More... | |
uint32_t | ICM_GetUStatus (void) |
Get the undefined access status register of the given ICM peripheral. More... | |
void | ICM_SetDescStartAddress (uint32_t addr) |
Set descriptor area start address register. More... | |
void | ICM_SetHashStartAddress (uint32_t addr) |
Set hash area start address register. More... | |
void | ICM_SetInitHashValue (uint32_t val) |
Set ICM user initial Hash value register. More... | |
Implementation of True Random Number Generator (ICM)
void ICM_Configure | ( | uint32_t | mode | ) |
Configures an ICM peripheral with the specified parameters.
mode | Desired value for the ICM mode register (see the datasheet). |
void ICM_DisableIt | ( | uint32_t | sources | ) |
Disables the selected interrupts sources on a ICM peripheral.
sources | Bitwise OR of selected interrupt sources. |
void ICM_DisableMonitor | ( | uint8_t | region | ) |
Disable region monitoring for given region.
region,When | bit RMDIS[region] is set to one, the monitoring of Region is disabled. |
void ICM_EnableIt | ( | uint32_t | sources | ) |
Enables the selected interrupts sources on a ICM peripheral.
sources | Bitwise OR of selected interrupt sources. |
void ICM_EnableMonitor | ( | uint8_t | region | ) |
Enable region monitoring for given region.
region,When | bit RMEN[region] is set to one, the monitoring of Region is activated. |
uint32_t ICM_GetIntStatus | ( | void | ) |
Get the current interrupt status register of the given ICM peripheral.
uint32_t ICM_GetStatus | ( | void | ) |
Get the current status register of the given ICM peripheral.
uint32_t ICM_GetUStatus | ( | void | ) |
Get the undefined access status register of the given ICM peripheral.
void ICM_ReComputeHash | ( | uint8_t | region | ) |
Recompute Internal hash.
region,When | REHASH[region] is set to one, the region digest is re-computed. |
void ICM_SetDescStartAddress | ( | uint32_t | addr | ) |
Set descriptor area start address register.
addr | start address |
void ICM_SetHashStartAddress | ( | uint32_t | addr | ) |
Set hash area start address register.
addr | start address |
void ICM_SetInitHashValue | ( | uint32_t | val | ) |
Set ICM user initial Hash value register.
val | Initial Hash Value |