mirror of
https://github.com/ArteryTek/AT32F415_Firmware_Library.git
synced 2026-05-21 09:22:11 +00:00
update version to v2.1.2
This commit is contained in:
@@ -140,7 +140,7 @@ void SysTick_Handler(void)
|
||||
*/
|
||||
void ERTCAlarm_IRQHandler(void)
|
||||
{
|
||||
if(ertc_flag_get(ERTC_ALAF_FLAG) != RESET)
|
||||
if(ertc_interrupt_flag_get(ERTC_ALAF_FLAG) != RESET)
|
||||
{
|
||||
/* display the alarm */
|
||||
ertc_alarm_show();
|
||||
|
||||
@@ -143,7 +143,7 @@ void SysTick_Handler(void)
|
||||
*/
|
||||
void TMR5_GLOBAL_IRQHandler(void)
|
||||
{
|
||||
if (tmr_flag_get(TMR5, TMR_C4_FLAG) != RESET)
|
||||
if (tmr_interrupt_flag_get(TMR5, TMR_C4_FLAG) != RESET)
|
||||
{
|
||||
/* get the input capture value */
|
||||
tmp_c4[capture_number++] = tmr_channel_value_get(TMR5, TMR_SELECT_CHANNEL_4);
|
||||
|
||||
@@ -141,7 +141,7 @@ void SysTick_Handler(void)
|
||||
*/
|
||||
void TAMP_STAMP_IRQHandler(void)
|
||||
{
|
||||
if(ertc_flag_get(ERTC_TP1F_FLAG) != RESET)
|
||||
if(ertc_interrupt_flag_get(ERTC_TP1F_FLAG) != RESET)
|
||||
{
|
||||
/* check if ertc backup data registers are cleared */
|
||||
if(is_bpr_reg_reset() == 0)
|
||||
|
||||
@@ -142,7 +142,7 @@ void SysTick_Handler(void)
|
||||
*/
|
||||
void TAMP_STAMP_IRQHandler(void)
|
||||
{
|
||||
if(ertc_flag_get(ERTC_TSF_FLAG))
|
||||
if(ertc_interrupt_flag_get(ERTC_TSF_FLAG))
|
||||
{
|
||||
/* display the timestamp */
|
||||
ertc_timestamp_show();
|
||||
|
||||
@@ -141,7 +141,7 @@ void SysTick_Handler(void)
|
||||
*/
|
||||
void ERTC_WKUP_IRQHandler(void)
|
||||
{
|
||||
if(ertc_flag_get(ERTC_WATF_FLAG) != RESET)
|
||||
if(ertc_interrupt_flag_get(ERTC_WATF_FLAG) != RESET)
|
||||
{
|
||||
printf("wakeup\r\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user