Functions | |
| __STATIC_INLINE void | ll_comp_enable (void) |
| Enable COMP module. More... | |
| __STATIC_INLINE void | ll_comp_disable (void) |
| Disable COMP module. More... | |
| __STATIC_INLINE void | ll_comp_set_input_src (uint32_t source) |
| Set channel of COMP input source. More... | |
| __STATIC_INLINE void | ll_comp_set_ref_src (uint32_t source) |
| Set channel of COMP reference source. More... | |
| __STATIC_INLINE void | ll_comp_set_vbatt_lvl (uint32_t level) |
| Set VBATT control level. More... | |
| __STATIC_INLINE void | ll_comp_set_vref_lvl (uint32_t level) |
| Set VREF control level. More... | |
| SECTION_RAM_CODE __STATIC_INLINE uint32_t | ll_comp_is_active_flag_it (void) |
| Indicate if the COMP Interrupt Flag is set or not. More... | |
| SECTION_RAM_CODE __STATIC_INLINE void | ll_comp_clear_flag_it (void) |
| Clear Interrupt Status flag for COMP. More... | |
| SECTION_RAM_CODE __STATIC_INLINE void ll_comp_clear_flag_it | ( | void | ) |
Clear Interrupt Status flag for COMP.
| Register | BitsName |
|---|---|
| SLP_EVENT | MSIO_COMP |
| None. |
| __STATIC_INLINE void ll_comp_disable | ( | void | ) |
Disable COMP module.
| Register | BitsName |
|---|---|
| RF_REG_10 | COMP_EN |
| None |
| __STATIC_INLINE void ll_comp_enable | ( | void | ) |
Enable COMP module.
| Register | BitsName |
|---|---|
| RF_REG_10 | COMP_EN |
| None |
| SECTION_RAM_CODE __STATIC_INLINE uint32_t ll_comp_is_active_flag_it | ( | void | ) |
Indicate if the COMP Interrupt Flag is set or not.
| Register | BitsName |
|---|---|
| SLP_EVENT | MSIO_COMP |
| State | of bit (1 or o). |
| __STATIC_INLINE void ll_comp_set_input_src | ( | uint32_t | source | ) |
Set channel of COMP input source.
| Register | BitsName |
|---|---|
| RF_REG_10 | AON_RF_REG_10_CHANNEL_SEL_P |
| source | This parameter can be one of the following values: |
| None |
| __STATIC_INLINE void ll_comp_set_ref_src | ( | uint32_t | source | ) |
Set channel of COMP reference source.
| Register | BitsName |
|---|---|
| RF_REG_10 | AON_RF_REG_10_CHANNEL_SEL_N |
| source | This parameter can be one of the following values: |
| None |
| __STATIC_INLINE void ll_comp_set_vbatt_lvl | ( | uint32_t | level | ) |
Set VBATT control level.
| Register | BitsName |
|---|---|
| RF_REG_10 | BATT_LVL_CTRL_LV |
| level | This parameter can be a value between: 0 ~ 7 Vbatt_ref = ((level+1)/10) * VBATT |
| None |
| __STATIC_INLINE void ll_comp_set_vref_lvl | ( | uint32_t | level | ) |
Set VREF control level.
| Register | BitsName |
|---|---|
| RF_REG_10 | COMP_REF_CTRL_LV |
| level | This parameter can be a value between: 0 ~ 63 Vref = 30mv * level |
| None |