Lines Matching refs:ctl
149 uint16_t ctl = 0U; in bkp_rtc_output_select() local
151 ctl = BKP_OCTL; in bkp_rtc_output_select()
152 ctl &= (uint16_t)~BKP_OCTL_ROSEL; in bkp_rtc_output_select()
153 ctl |= outputsel; in bkp_rtc_output_select()
154 BKP_OCTL = ctl; in bkp_rtc_output_select()
167 uint16_t ctl = 0U; in bkp_rtc_clock_output_select() local
169 ctl = BKP_OCTL; in bkp_rtc_clock_output_select()
170 ctl &= (uint16_t)~BKP_OCTL_CCOSEL; in bkp_rtc_clock_output_select()
171 ctl |= clocksel; in bkp_rtc_clock_output_select()
172 BKP_OCTL = ctl; in bkp_rtc_clock_output_select()
185 uint16_t ctl = 0U; in bkp_rtc_clock_calibration_direction() local
187 ctl = BKP_OCTL; in bkp_rtc_clock_calibration_direction()
188 ctl &= (uint16_t)~BKP_OCTL_CALDIR; in bkp_rtc_clock_calibration_direction()
189 ctl |= direction; in bkp_rtc_clock_calibration_direction()
190 BKP_OCTL = ctl; in bkp_rtc_clock_calibration_direction()
202 uint16_t ctl; in bkp_rtc_calibration_value_set() local
204 ctl = BKP_OCTL; in bkp_rtc_calibration_value_set()
205 ctl &= ~BKP_OCTL_RCCV; in bkp_rtc_calibration_value_set()
206 ctl |= (uint16_t)OCTL_RCCV(value); in bkp_rtc_calibration_value_set()
207 BKP_OCTL = ctl; in bkp_rtc_calibration_value_set()
242 uint16_t ctl = 0U; in bkp_tamper_active_level_set() local
244 ctl = BKP_TPCTL; in bkp_tamper_active_level_set()
245 ctl &= (uint16_t)~BKP_TPCTL_TPAL; in bkp_tamper_active_level_set()
246 ctl |= level; in bkp_tamper_active_level_set()
247 BKP_TPCTL = ctl; in bkp_tamper_active_level_set()