Searched refs:rtc_tamper (Results 1 – 6 of 6) sorted by relevance
584 void rtc_tamper_enable(rtc_tamper_struct* rtc_tamper) in rtc_tamper_enable() argument587 RTC_TAMP &= (uint32_t)~(rtc_tamper->rtc_tamper_source); in rtc_tamper_enable()593 if(rtc_tamper->rtc_tamper_filter != RTC_FLT_EDGE ){ in rtc_tamper_enable()597 if(DISABLE == rtc_tamper->rtc_tamper_precharge_enable){ in rtc_tamper_enable()600 RTC_TAMP |= (uint32_t)(rtc_tamper->rtc_tamper_precharge_time); in rtc_tamper_enable()603 RTC_TAMP |= (uint32_t)(rtc_tamper->rtc_tamper_sample_frequency); in rtc_tamper_enable()604 RTC_TAMP |= (uint32_t)(rtc_tamper->rtc_tamper_filter); in rtc_tamper_enable()609 if(DISABLE != rtc_tamper->rtc_tamper_with_timestamp){ in rtc_tamper_enable()615 RTC_TAMP &= ((uint32_t)~((rtc_tamper->rtc_tamper_source) << RTC_TAMPER_TRIGGER_POS)); in rtc_tamper_enable()616 if(RTC_TAMPER_TRIGGER_EDGE_RISING != rtc_tamper->rtc_tamper_trigger){ in rtc_tamper_enable()[all …]
683 void rtc_tamper_enable(rtc_tamper_struct *rtc_tamper) in rtc_tamper_enable() argument686 RTC_TAMP &= (uint32_t)~(rtc_tamper->tamper_source); in rtc_tamper_enable()692 if((uint32_t)(rtc_tamper->tamper_filter) != RTC_FLT_EDGE) { in rtc_tamper_enable()696 if(DISABLE == rtc_tamper->tamper_precharge_enable) { in rtc_tamper_enable()699 RTC_TAMP |= (uint32_t)(rtc_tamper->tamper_precharge_time); in rtc_tamper_enable()702 RTC_TAMP |= (uint32_t)(rtc_tamper->tamper_sample_frequency); in rtc_tamper_enable()703 RTC_TAMP |= (uint32_t)(rtc_tamper->tamper_filter); in rtc_tamper_enable()706 RTC_TAMP &= ((uint32_t)~((rtc_tamper->tamper_source) << RTC_TAMPER_TRIGGER_POS)); in rtc_tamper_enable()707 if(RTC_TAMPER_TRIGGER_LEVEL_LOW != rtc_tamper->tamper_trigger) { in rtc_tamper_enable()708 RTC_TAMP |= (uint32_t)((rtc_tamper->tamper_source) << RTC_TAMPER_TRIGGER_POS); in rtc_tamper_enable()[all …]
649 void rtc_tamper_enable(rtc_tamper_struct *rtc_tamper) in rtc_tamper_enable() argument652 RTC_TAMP &= (uint32_t)~(rtc_tamper->tamper_source); in rtc_tamper_enable()658 if((uint32_t)(rtc_tamper->tamper_filter) != RTC_FLT_EDGE) { in rtc_tamper_enable()662 if(DISABLE == rtc_tamper->tamper_precharge_enable) { in rtc_tamper_enable()665 RTC_TAMP |= (uint32_t)(rtc_tamper->tamper_precharge_time); in rtc_tamper_enable()668 RTC_TAMP |= (uint32_t)(rtc_tamper->tamper_sample_frequency); in rtc_tamper_enable()669 RTC_TAMP |= (uint32_t)(rtc_tamper->tamper_filter); in rtc_tamper_enable()672 RTC_TAMP &= ((uint32_t)~((rtc_tamper->tamper_source) << RTC_TAMPER_TRIGGER_POS)); in rtc_tamper_enable()673 if(RTC_TAMPER_TRIGGER_LEVEL_LOW != rtc_tamper->tamper_trigger) { in rtc_tamper_enable()674 RTC_TAMP |= (uint32_t)((rtc_tamper->tamper_source) << RTC_TAMPER_TRIGGER_POS); in rtc_tamper_enable()[all …]
531 void rtc_tamper_enable(rtc_tamper_struct* rtc_tamper);
586 void rtc_tamper_enable(rtc_tamper_struct* rtc_tamper);
603 void rtc_tamper_enable(rtc_tamper_struct *rtc_tamper);