Header file containing functions prototypes of CALENDAR LL library. More...
#include "gr55xx.h"
Go to the source code of this file.
Classes | |
struct | _ll_bod_init |
LL BOD init Structure definition. More... | |
Macros | |
#define | LL_BOD_ENABLE 0x1 |
BOD enable More... | |
#define | LL_BOD_DISABLE 0x0 |
BOD disable More... | |
#define | LL_BOD2_ENABLE 0x1 |
BOD2 enable More... | |
#define | LL_BOD2_DISABLE 0x0 |
BOD2 disable More... | |
#define | LL_BOD_STATIC_ENABLE (0x1) |
BOD STATIC enable More... | |
#define | LL_BOD_STATIC_DISABLE (0x0) |
BOD STATIC disable More... | |
#define | LL_BOD2_LEVEL_0 0x0 |
BOD2 Level 0 More... | |
#define | LL_BOD2_LEVEL_1 0x1 |
BOD2 Level 1 More... | |
#define | LL_BOD2_LEVEL_2 0x2 |
BOD2 Level 2 More... | |
#define | LL_BOD2_LEVEL_3 0x3 |
BOD2 Level 3 More... | |
#define | LL_BOD2_LEVEL_4 0x4 |
BOD2 Level 4 More... | |
#define | LL_BOD2_LEVEL_5 0x5 |
BOD2 Level 5 More... | |
#define | LL_BOD2_LEVEL_6 0x6 |
BOD2 Level 6 More... | |
#define | LL_BOD2_LEVEL_7 0x7 |
BOD2 Level 7 More... | |
Typedefs | |
typedef struct _ll_bod_init | ll_bod_init_t |
LL BOD init Structure definition. More... | |
Functions | |
__STATIC_INLINE void | ll_bod_enable (void) |
Enable the bod. More... | |
__STATIC_INLINE void | ll_bod_disable (void) |
Disable the bod. More... | |
__STATIC_INLINE void | ll_bod2_enable (void) |
Enable the bod2. More... | |
__STATIC_INLINE void | ll_bod2_disable (void) |
Disable the bod2. More... | |
__STATIC_INLINE void | ll_bod2_lvl_ctrl_lv_set (uint8_t lvl_ctrl_lv) |
Set bod control level. More... | |
__STATIC_INLINE void | ll_bod_static_lv_enable (void) |
enable bod static lv More... | |
__STATIC_INLINE void | ll_bod_static_lv_disable (void) |
disable bod static lv More... | |
__STATIC_INLINE void | ll_bod_enable_fedge (void) |
enable BOD FEDGE Event. More... | |
__STATIC_INLINE void | ll_bod_disable_fedge (void) |
disable BOD FEDGE Event. More... | |
__STATIC_INLINE uint32_t | ll_bod_is_active_flag_fedge (void) |
Indicate if the BOD REDGE Event Flag is set or not. More... | |
__STATIC_INLINE void | ll_bod_clear_flag_fedge (void) |
Clear Interrupt Status flag. More... | |
error_status_t | ll_bod_deinit (void) |
De-initialize the BOD registers to their default reset values. More... | |
error_status_t | ll_bod_init (ll_bod_init_t *p_bod_init) |
Initialize the BOD registers according to the specified parameters. More... | |
void | ll_bod_struct_init (ll_bod_init_t *p_bod_init) |
Set BOD initial structure to default value. More... | |
Header file containing functions prototypes of CALENDAR LL library.
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_bod.h.