nrf_ccm: Add RATEOVERRIDE subscribe support
Add the RATEOVERRIDE subscription support. This task subscribe sideeffectign function already existed, it was just not used. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
8592230a87
commit
9b985ea6bc
|
@ -27,6 +27,7 @@ void nhw_CCM_regw_sideeffects_EVENTS_all(unsigned int inst);
|
|||
void nhw_CCM_regw_sideeffects_SUBSCRIBE_KSGEN(unsigned int inst);
|
||||
void nhw_CCM_regw_sideeffects_SUBSCRIBE_CRYPT(unsigned int inst);
|
||||
void nhw_CCM_regw_sideeffects_SUBSCRIBE_STOP(unsigned int inst);
|
||||
void nhw_CCM_regw_sideeffects_SUBSCRIBE_RATEOVERRIDE(unsigned int inst);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -54,6 +54,8 @@ static void nrf_ccm_subscribe_common(NRF_CCM_Type * p_reg,
|
|||
nhw_CCM_regw_sideeffects_SUBSCRIBE_CRYPT(0);
|
||||
} else if ( task == NRF_CCM_TASK_STOP ) {
|
||||
nhw_CCM_regw_sideeffects_SUBSCRIBE_STOP(0);
|
||||
} else if ( task == NRF_CCM_TASK_RATEOVERRIDE ) {
|
||||
nhw_CCM_regw_sideeffects_SUBSCRIBE_RATEOVERRIDE(0);
|
||||
} else {
|
||||
bs_trace_error_line_time("Attempted to subscribe to an not-supported task in the nrf_ccm (%i)\n",
|
||||
task);
|
||||
|
|
Loading…
Reference in New Issue