52static volatile struct process *notification_process = NULL;
67 if(notification_process != NULL) {
69 notification_process = NULL;
84 lpm_register_peripheral(permit_pm1);
90 for(i = 0; i < 16; i++) {
121 notification_process = p;
#define PKA_FUNCTION_RUN
The host sets this bit to instruct the PKA module to begin processing the basic PKCP or complex seque...
uint8_t pka_check_status(void)
Checks the status of the PKA engine operation.
#define PKA_FUNCTION
PKA function This register contains the control bits to start basic PKCP as well as complex sequencer...
void pka_register_process_notification(struct process *p)
Registers a process to be notified of the completion of a PKA operation.
void pka_isr(void)
The PKA engine ISR.
void pka_disable(void)
Disables the PKA engine.
void pka_init(void)
Enables and resets the PKA engine.
void pka_enable(void)
Enables the PKA engine.
#define SYS_CTRL_SRSEC
Sec Mod reset control.
#define SYS_CTRL_SRSEC_PKA
PKA is reset.
#define SYS_CTRL_RCGCSEC
Sec Mod clocks - active mode.
#define SYS_CTRL_SCGCSEC_PKA
PKA clock enable, CPU IDLE.
#define SYS_CTRL_SCGCSEC
Sec Mod clocks - sleep mode.
#define SYS_CTRL_RCGCSEC_PKA
PKA clock enable, CPU running.
#define SYS_CTRL_DCGCSEC
Sec Mod clocks - PM0.
#define SYS_CTRL_DCGCSEC_PKA
PKA clock enable, PM0.
void process_poll(struct process *p)
Request a process to be polled.
Header file for the ARM Nested Vectored Interrupt Controller.
Header file for the cc2538 PKA engine driver.
Header file with register manipulation macro definitions.
Header file for the cc2538 System Control driver.