|
file | als-sensor.c |
| Driver for the SmartRF06 EB ALS sensor.
|
|
file | als-sensor.h |
| Header file for the SmartRF06 EB ALS sensor.
|
|
file | board-conf.h |
| Header file with definitions related to SmartRF06 EB boards.
|
|
file | board-peripherals.h |
| Header file with definitions related to SmartRF06 EB boards.
|
|
file | button-sensor-arch.c |
| Button HAL definitions for the SmartRF06 Evaluation Board's buttons.
|
|
file | leds-arch.c |
| LED HAL definitions for the SmartRF06 Evaluation Board's LEDs.
|
|
file | srf06-sensors.c |
| Generic module controlling sensors on SmartRF06 Evaluation Board.
|
|
|
| BUTTON_HAL_BUTTON (key_select, "Key Select", Board_KEY_SELECT, GPIO_HAL_PIN_CFG_PULL_UP|GPIO_HAL_PIN_CFG_HYSTERESIS, BUTTON_HAL_ID_KEY_SELECT, true) |
| Negative logic.
|
|
| BUTTON_HAL_BUTTON (key_up, "Key Up", Board_KEY_UP, GPIO_HAL_PIN_CFG_PULL_UP|GPIO_HAL_PIN_CFG_HYSTERESIS, BUTTON_HAL_ID_KEY_UP, true) |
| Negative logic.
|
|
| BUTTON_HAL_BUTTON (key_down, "Key Down", Board_KEY_DOWN, GPIO_HAL_PIN_CFG_PULL_UP|GPIO_HAL_PIN_CFG_HYSTERESIS, BUTTON_HAL_ID_KEY_DOWN, true) |
| Negative logic.
|
|
| BUTTON_HAL_BUTTON (key_left, "Key Left", Board_KEY_LEFT, GPIO_HAL_PIN_CFG_PULL_UP|GPIO_HAL_PIN_CFG_HYSTERESIS, BUTTON_HAL_ID_KEY_LEFT, true) |
| Negative logic.
|
|
| BUTTON_HAL_BUTTON (key_right, "Key Right", Board_KEY_RIGHT, GPIO_HAL_PIN_CFG_PULL_UP|GPIO_HAL_PIN_CFG_HYSTERESIS, BUTTON_HAL_ID_KEY_RIGHT, true) |
| Negative logic.
|
|
|
const struct sensors_sensor | als_sensor |
| Exports a global symbol to be used by the sensor API.
|
|
SENSORS & | als_sensor |
| Exports a global symbol to be used by the sensor API.
|
|
Defines related to configuring SmartRF06 EB's peripherals. All
SmartRF06 EBs are identical to a very large extent. Everything
documented within this group applies to all SmartRF06 EBs.
◆ BUTTON_HAL_BUTTON() [1/5]
BUTTON_HAL_BUTTON |
( |
key_down | , |
|
|
"Key Down" | , |
|
|
Board_KEY_DOWN | , |
|
|
GPIO_HAL_PIN_CFG_PULL_UP| | GPIO_HAL_PIN_CFG_HYSTERESIS, |
|
|
BUTTON_HAL_ID_KEY_DOWN | , |
|
|
true | ) |
Negative logic.
- Parameters
-
GPIO_HAL_PIN_CFG_HYSTERESIS | Pull configuration |
◆ BUTTON_HAL_BUTTON() [2/5]
BUTTON_HAL_BUTTON |
( |
key_left | , |
|
|
"Key Left" | , |
|
|
Board_KEY_LEFT | , |
|
|
GPIO_HAL_PIN_CFG_PULL_UP| | GPIO_HAL_PIN_CFG_HYSTERESIS, |
|
|
BUTTON_HAL_ID_KEY_LEFT | , |
|
|
true | ) |
Negative logic.
- Parameters
-
GPIO_HAL_PIN_CFG_HYSTERESIS | Pull configuration |
◆ BUTTON_HAL_BUTTON() [3/5]
BUTTON_HAL_BUTTON |
( |
key_right | , |
|
|
"Key Right" | , |
|
|
Board_KEY_RIGHT | , |
|
|
GPIO_HAL_PIN_CFG_PULL_UP| | GPIO_HAL_PIN_CFG_HYSTERESIS, |
|
|
BUTTON_HAL_ID_KEY_RIGHT | , |
|
|
true | ) |
Negative logic.
- Parameters
-
GPIO_HAL_PIN_CFG_HYSTERESIS | Pull configuration |
◆ BUTTON_HAL_BUTTON() [4/5]
BUTTON_HAL_BUTTON |
( |
key_select | , |
|
|
"Key Select" | , |
|
|
Board_KEY_SELECT | , |
|
|
GPIO_HAL_PIN_CFG_PULL_UP| | GPIO_HAL_PIN_CFG_HYSTERESIS, |
|
|
BUTTON_HAL_ID_KEY_SELECT | , |
|
|
true | ) |
Negative logic.
- Parameters
-
GPIO_HAL_PIN_CFG_HYSTERESIS | Pull configuration |
◆ BUTTON_HAL_BUTTON() [5/5]
BUTTON_HAL_BUTTON |
( |
key_up | , |
|
|
"Key Up" | , |
|
|
Board_KEY_UP | , |
|
|
GPIO_HAL_PIN_CFG_PULL_UP| | GPIO_HAL_PIN_CFG_HYSTERESIS, |
|
|
BUTTON_HAL_ID_KEY_UP | , |
|
|
true | ) |
Negative logic.
- Parameters
-
GPIO_HAL_PIN_CFG_HYSTERESIS | Pull configuration |