Appiko
Macros | Functions

Hardware abstraction layer of the Successive Approximation Analog to Digital Converter (SAADC) peripheral. More...

Macros

#define saadc_channel_init   nrf_saadc_channel_init
 To be consistent with the saadc naming for the function here. The function definition is in the SDK HAL.
 

Functions

__STATIC_INLINE void saadc_continuous_sampling_rate_set (uint32_t sampling_rate_div)
 Function for configuring the use of the internal sample-rate timer and its interval. More...
 
__STATIC_INLINE void saadc_sampling_task_mode_set (void)
 Function that sets the sampling to be started with SAMPLING task.
 
__STATIC_INLINE void saadc_channel_uninit (uint8_t channel)
 Function to uninitializes a SAADC channel.
 

Detailed Description

Note
This peripheral is present only in nRF52 SoCs.

Function Documentation

◆ saadc_continuous_sampling_rate_set()

__STATIC_INLINE void saadc_continuous_sampling_rate_set ( uint32_t  sampling_rate_div)
Parameters
[in]sampling_rate_divThe sampling rate is (16/sampling_rate_div) MHz

Definition at line 53 of file hal_saadc.h.

References ASSERT.