riot_sys

Function adc_init

Source
pub unsafe extern "C" fn adc_init(line: adc_t) -> c_int
Expand description

@brief Initialize the given ADC line

The ADC line is initialized in synchronous, blocking mode.

@param[in] line line to initialize

@return 0 on success @return -1 on invalid ADC line