Contiki-NG

Implementation of the cc2538 ADC driver. More...

#include "contiki.h"
#include "dev/soc-adc.h"
#include "dev/cctest.h"
#include "dev/rfcore-xreg.h"
#include "dev/adc.h"
#include "reg.h"
#include <stdint.h>

Go to the source code of this file.

Functions

ADC functions
void adc_init (void)
 Initializes the ADC controller.
 
int16_t adc_get (uint8_t channel, uint8_t ref, uint8_t div)
 Performs a single conversion on a given ADC channel. More...
 

Detailed Description

Implementation of the cc2538 ADC driver.

Definition in file adc.c.