Functions | |
| __STATIC_INLINE uint32_t | ll_adc_read_fifo (void) |
| Return samples value of ADC by reading FIFO. More... | |
| __STATIC_INLINE void | ll_adc_set_thresh (uint32_t thresh) |
| Set threshold of ADC FIFO. More... | |
| __STATIC_INLINE uint32_t | ll_adc_get_thresh (void) |
| Return threshold of ADC FIFO. More... | |
| __STATIC_INLINE uint32_t | ll_adc_is_fifo_notempty (void) |
| Check if ADC FIFO is not empty. More... | |
| __STATIC_INLINE uint32_t | ll_adc_get_fifo_count (void) |
| Return count of ADC FIFO. More... | |
| __STATIC_INLINE uint32_t ll_adc_get_fifo_count | ( | void | ) |
Return count of ADC FIFO.
| Register | BitsName |
|---|---|
| SENSE_ADC_STAT | FF_COUNT |
| Returned | value can be a value between: 0 ~ 64 |
| __STATIC_INLINE uint32_t ll_adc_get_thresh | ( | void | ) |
Return threshold of ADC FIFO.
| Register | BitsName |
|---|---|
| SENSE_FF_THRESH | SENSE_FF_THRESH |
| Returned | value can be a value between: 0 ~ 64 |
| __STATIC_INLINE uint32_t ll_adc_is_fifo_notempty | ( | void | ) |
Check if ADC FIFO is not empty.
| Register | BitsName |
|---|---|
| SENSE_ADC_STAT | VAL |
| State | of bit (1 or 0). |
| __STATIC_INLINE uint32_t ll_adc_read_fifo | ( | void | ) |
Return samples value of ADC by reading FIFO.
| Register | BitsName |
|---|---|
| SENSE_ADC_FIFO | SENSE_ADC_FIFO |
| Smaples | value of input |
| __STATIC_INLINE void ll_adc_set_thresh | ( | uint32_t | thresh | ) |
Set threshold of ADC FIFO.
| Register | BitsName |
|---|---|
| SENSE_FF_THRESH | SENSE_FF_THRESH |
| thresh | This parameter can be a value between: 0 ~ 64 |
| None |