periph.h¶
Parameter definitions for mapping peripherals directly to SAUL.
-
enum
saul_gpio_flags_t¶ - SAUL_GPIO_INVERTED
= (1 << 0) - pin is used as inverted
- SAUL_GPIO_INIT_CLEAR
= (1 << 1) - set pin inactive after init
- SAUL_GPIO_INIT_SET
= (1 << 2) - set pin active after init
- SAUL_GPIO_INVERTED
-
struct
saul_gpio_params_t¶ Direct mapped GPIO configuration values.
-
const char *
name¶ name of the device connected to this pin
-
gpio.h::gpio_tpin¶ GPIO pin to initialize and expose.
-
cc2538/include/periph_cpu.h::gpio_mode_tmode¶ pin mode to use
-
periph.h::saul_gpio_flags_tflags¶ Configuration flags.
-
const char *
-
struct
saul_adc_params_t¶ Direct mapped ADC configuration values.
-
const char *
name¶ name of the device connected to this pin
-
adc.h::adc_tline¶ ADC line to initialize and expose.
-
cc2538/include/periph_cpu.h::adc_res_tres¶ ADC resolution.
-
const char *