Go to the documentation of this file.
19 #ifndef IO1_XPLAINED_PARAMS_H
20 #define IO1_XPLAINED_PARAMS_H
37 #ifndef IO1_XPLAINED_PARAM_ADDR
38 #define IO1_XPLAINED_PARAM_ADDR (0x07)
41 #ifndef IO1_XPLAINED_PARAMS
42 #define IO1_XPLAINED_PARAMS { .addr = IO1_XPLAINED_PARAM_ADDR }
44 #ifndef IO1_XPLAINED_SAUL_INFO
45 #define IO1_XPLAINED_SAUL_INFO {{ .name = "Temperature (IO1 Xplained)" }, \
46 { .name = "LED (IO1 Xplained)" }, \
47 { .name = "GPIO1 (IO1 Xplained)" }, \
48 { .name = "GPIO2 (IO1 Xplained)" }}
65 IO1_XPLAINED_SAUL_INFO
68 #ifdef MODULE_SAUL_GPIO
Device driver interface for the Atmel IO1 Xplained extension.
static const io1_xplained_params_t io1_xplained_params[]
Configure IO1 Xplained extension.
gpio_t pin
GPIO pin to initialize and expose.
saul_reg_info_t io1_xplained_saul_info[][4]
Allocate and configure entries to the SAUL registry.
Device initialization parameters.
Parameter definitions for mapping peripherals directly to SAUL.
@ GPIO_OUT
configure as output in push-pull mode
Additional data to collect for each entry.
SAUL registry interface definition.
Low-level GPIO peripheral driver interface definitions.
Direct mapped GPIO configuration values.
@ SAUL_GPIO_INVERTED
pin is used as inverted
Internal addresses, constants for the IO1 Xplained extension.