gr55xx_ll_aon_wdt.h File Reference

Header file containing functions prototypes of AON WDT LL library. More...

#include "gr55xx.h"

Go to the source code of this file.

Macros

#define LL_AON_WD_TIMER_CLK_SEL_RNG   (0x0U << AON_WDT_CLK_SEL_Pos)
 
#define LL_AON_WD_TIMER_CLK_SEL_XO   (0x1U << AON_WDT_CLK_SEL_Pos)
 
#define LL_AON_WD_TIMER_CLK_SEL_RNG2   (0x2U << AON_WDT_CLK_SEL_Pos)
 
#define LL_AON_WD_TIMER_CLK_SEL_RTC   (0x3U << AON_WDT_CLK_SEL_Pos)
 
#define AON_WDT_REG_READ
 

Functions

__STATIC_INLINE void ll_aon_wdt_enable (void)
 Enable AON watchdog counter and interrupt event. More...
 
__STATIC_INLINE void ll_aon_wdt_disable (void)
 Disable AON watchdog counter and interrupt event. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_is_enabled (void)
 Check if the AON_WDT peripheral is enabled or disabled. More...
 
__STATIC_INLINE void ll_aon_wdt_set_clk (uint32_t value)
 Set Watchdog Timer clock. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_get_clk (void)
 Get Watchdog Timer clock. More...
 
__STATIC_INLINE void ll_aon_wdt_set_reload_counter (uint32_t counter)
 Specify the AON WDT down-counter reload value. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_get_reload_counter (void)
 Get the AON WDT down-counter reload value. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_get_reload_read_counter ()
 Get the AON WDT down-counter read reload value. More...
 
__STATIC_INLINE void ll_aon_wdt_reload_counter (void)
 Reloads AON WDT counter. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_get_counter (void)
 Read the AON WDT counter current value. More...
 
__STATIC_INLINE void ll_aon_wdt_set_alarm_counter (uint32_t counter)
 Specify the AON_WDT down-counter alarm value. More...
 
__STATIC_INLINE void ll_aon_wdt_set_alarm_counter_and_request (uint32_t counter)
 Specify the AON_WDT down-counter alarm value and request. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_get_alarm_counter (void)
 Get the AON_WDT down-counter alarm value. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_get_alarm_read_counter (void)
 Get the AON_WDT down-counter alarm value. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_is_busy (void)
 AON WDT busy status flag. More...
 
__STATIC_INLINE void ll_aon_wdt_it_enable_alarm (void)
 Enable aon wdt alarm interrupt. More...
 
__STATIC_INLINE void ll_aon_wdt_it_disable_alarm (void)
 Disable aon wdt alarm interrupt. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_it_is_enabled_alarm (void)
 Check if the aon wdt alarm interrupt is enabled or disabled. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_is_active_flag_running (void)
 Indicate if the AON Watchdog Running Flag is set or not. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_is_active_flag_reboot (void)
 Indicate if the AON WDT Reboot Event Flag is set or not. More...
 
__STATIC_INLINE void ll_aon_wdt_clear_flag_reboot (void)
 Clear Interrupt Status flag. More...
 
__STATIC_INLINE uint32_t ll_aon_wdt_is_active_flag_alarm (void)
 Indicate if the AON WDT Alarm Event Flag is set or not. More...
 
__STATIC_INLINE void ll_aon_wdt_clear_flag_alarm (void)
 Clear Interrupt Status flag. More...
 
__STATIC_INLINE void ll_aon_wdt_enable_write_access (void)
 Enable write access. More...
 
__STATIC_INLINE void ll_aon_wdt_disable_write_access (void)
 Disable write access. More...
 

Detailed Description

Header file containing functions prototypes of AON WDT LL library.

Author
BLE Driver Team
Attention
#####Copyright (c) 2019 GOODIX All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of GOODIX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file gr55xx_ll_aon_wdt.h.