Header file containing functions prototypes of AON WDT LL library. More...
#include "gr5405.h"
Go to the source code of this file.
Macros | |
#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_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_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_unlock (void) |
Enable write access. More... | |
__STATIC_INLINE void | ll_aon_wdt_lock (void) |
Disable write access. More... | |
Header file containing functions prototypes of AON WDT LL library.
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 ll_aon_wdt.h.