Home
last modified time | relevance | path

Searched refs:sTamper (Results 1 – 25 of 34) sorted by relevance

12

/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_rtc_ex.c1751 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) argument
1758 assert_param(IS_RTC_TAMPER(sTamper->Tamper));
1759 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger));
1760 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase));
1761 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag));
1762 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection));
1763 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter));
1764 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency));
1765 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration));
1766 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp));
[all …]
/hal_stm32-2.7.6/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_rtc_ex.c464 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef * hrtc, RTC_TamperTypeDef * sTamper) in HAL_RTCEx_SetTamper() argument
472 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
473 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
474 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
475 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
476 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
477 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
478 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
479 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
480 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp)); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_rtc_ex.c416 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper) in HAL_RTCEx_SetTamper() argument
421 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
422 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
423 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
424 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
425 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
426 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
427 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
428 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp)); in HAL_RTCEx_SetTamper()
429 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_rtc_ex.c396 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
401 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
402 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
403 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
404 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
405 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
406 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
407 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
408 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp)); in HAL_RTCEx_SetTamper()
409 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_rtc_ex.c478 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
483 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
484 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
485 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
486 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
487 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
488 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
489 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
490 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp)); in HAL_RTCEx_SetTamper()
491 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_rtc_ex.c1534 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
1539 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
1540 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
1541 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
1542 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
1543 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
1544 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
1545 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
1546 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
1547 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp)); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_rtc_ex.c1349 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
1355 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
1356 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
1357 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
1358 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
1359 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
1360 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
1361 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
1362 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp)); in HAL_RTCEx_SetTamper()
1363 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_rtc_ex.c1336 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper) in HAL_RTCEx_SetTamper() argument
1343 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
1344 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
1345 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
1346 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
1347 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
1348 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
1349 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
1350 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp)); in HAL_RTCEx_SetTamper()
1351 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_rtc_ex.c1411 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
1419 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
1420 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
1421 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
1422 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
1423 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
1425 …assert_param(!((sTamper->MaskFlag != RTC_TAMPERMASK_FLAG_DISABLE) && (sTamper->Tamper > RTC_TAMPER… in HAL_RTCEx_SetTamper()
1426 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
1427 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
1428 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_rtc_ex.c1449 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
1457 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
1458 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
1459 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
1460 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
1461 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
1463 …assert_param(!((sTamper->MaskFlag != RTC_TAMPERMASK_FLAG_DISABLE) && (sTamper->Tamper > RTC_TAMPER… in HAL_RTCEx_SetTamper()
1464 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
1465 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
1466 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_rtc_ex.c354 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper) in HAL_RTCEx_SetTamper() argument
359 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
360 assert_param(IS_RTC_TAMPER_PIN(sTamper->PinSelection)); in HAL_RTCEx_SetTamper()
361 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
362 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
363 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
364 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
365 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp)); in HAL_RTCEx_SetTamper()
366 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
373 if(sTamper->Trigger != RTC_TAMPERTRIGGER_RISINGEDGE) in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_rtc_ex.c323 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
328 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
329 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
331 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
332 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
333 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
334 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp)); in HAL_RTCEx_SetTamper()
335 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
344 if ((sTamper->Trigger == RTC_TAMPERTRIGGER_RISINGEDGE)) in HAL_RTCEx_SetTamper()
347 sTamper->Trigger = RTC_TAMPERTRIGGER_RISINGEDGE; in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_hal_rtc_ex.c333 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
338 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
339 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
340 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
341 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
342 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
343 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp)); in HAL_RTCEx_SetTamper()
344 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
351 if (sTamper->Trigger != RTC_TAMPERTRIGGER_RISINGEDGE) in HAL_RTCEx_SetTamper()
353 sTamper->Trigger = (uint32_t)(sTamper->Tamper << 1U); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_rtc_ex.c331 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
336 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
337 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
338 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
339 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
340 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
341 assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp)); in HAL_RTCEx_SetTamper()
342 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
349 if (sTamper->Trigger != RTC_TAMPERTRIGGER_RISINGEDGE) in HAL_RTCEx_SetTamper()
351 sTamper->Trigger = (uint32_t)(sTamper->Tamper << 1U); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_rtc_ex.c1570 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
1578 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
1579 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
1580 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
1581 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
1582 assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection)); in HAL_RTCEx_SetTamper()
1584 …assert_param(!((sTamper->MaskFlag != RTC_TAMPERMASK_FLAG_DISABLE) && (sTamper->Tamper > RTC_TAMPER… in HAL_RTCEx_SetTamper()
1585 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
1586 assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency)); in HAL_RTCEx_SetTamper()
1587 assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration)); in HAL_RTCEx_SetTamper()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_rtc_ex.c81 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
84 if ((hrtc == NULL) || (sTamper == NULL)) in HAL_RTCEx_SetTamper()
90 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
91 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
108 MODIFY_REG(BKP->CR, (BKP_CR_TPE | BKP_CR_TPAL), (sTamper->Tamper | (sTamper->Trigger))); in HAL_RTCEx_SetTamper()
127 HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper_IT() argument
130 if ((hrtc == NULL) || (sTamper == NULL)) in HAL_RTCEx_SetTamper_IT()
136 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper_IT()
137 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper_IT()
154 MODIFY_REG(BKP->CR, (BKP_CR_TPE | BKP_CR_TPAL), (sTamper->Tamper | (sTamper->Trigger))); in HAL_RTCEx_SetTamper_IT()
/hal_stm32-2.7.6/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_rtc_ex.c346 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper() argument
351 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
352 assert_param(IS_RTC_TAMPER_PIN(sTamper->PinSelection)); in HAL_RTCEx_SetTamper()
353 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
360 …tmpreg = ((uint32_t)sTamper->Tamper | (uint32_t)sTamper->PinSelection | (uint32_t)(sTamper->Trigge… in HAL_RTCEx_SetTamper()
382 HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper) in HAL_RTCEx_SetTamper_IT() argument
387 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper_IT()
388 assert_param(IS_RTC_TAMPER_PIN(sTamper->PinSelection)); in HAL_RTCEx_SetTamper_IT()
389 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper_IT()
396 …tmpreg = ((uint32_t)sTamper->Tamper | (uint32_t)sTamper->PinSelection | (uint32_t)sTamper->Trigger… in HAL_RTCEx_SetTamper_IT()
/hal_stm32-2.7.6/stm32cube/stm32f1xx/drivers/include/
Dstm32f1xx_hal_rtc_ex.h357 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper);
358 HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper);
/hal_stm32-2.7.6/stm32cube/stm32f2xx/drivers/include/
Dstm32f2xx_hal_rtc_ex.h644 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper);
645 HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper);
/hal_stm32-2.7.6/stm32cube/stm32f3xx/drivers/include/
Dstm32f3xx_hal_rtc_ex.h842 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper);
843 HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper);
/hal_stm32-2.7.6/stm32cube/stm32f0xx/drivers/include/
Dstm32f0xx_hal_rtc_ex.h867 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper);
868 HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper);
/hal_stm32-2.7.6/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_hal_rtc_ex.h813 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper);
814 HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper);
/hal_stm32-2.7.6/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_hal_rtc_ex.h975 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper);
976 HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper);
/hal_stm32-2.7.6/stm32cube/stm32f7xx/drivers/include/
Dstm32f7xx_hal_rtc_ex.h839 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper);
840 HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper);
/hal_stm32-2.7.6/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_hal_rtc_ex.h1114 HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper);
1115 HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper);

12