![]() |
NHS31xx SW API
|
These 'defines' capture the diversity settings of the module. The displayed values refer to the default settings. To override the default settings, place the defines with their desired values in the application app_sel.h header file: the compiler will pick up your defines before parsing this file.
Data Structures | |
struct | LED_PROPERTIES_T |
Macros | |
#define | LED_COUNT 0 |
#define | LED_PROPERTIES NULL |
struct LED_PROPERTIES_T |
Defines all properties of a LED this module requires to know to drive them in an uniform way. Used by diversity setting LED_PROPERTIES
Data Fields | ||
---|---|---|
uint8_t | port |
The port number via which the GPIO can access the LED. |
uint8_t | pin |
The pin number via which the GPIO can access the LED. |
bool | polarity |
The polarity of the LED: |
IOCON_PIN_T | pio |
The I/O Pins Definition that corresponds to the values above. |
#define LED_COUNT 0 |
Defines how many LEDs are present and can be controlled by the LED module.
#define LED_PROPERTIES NULL |
Refers to an array of type LED_PROPERTIES_T with size LED_COUNT. Defines the properties of a LED.