NHS31xx SW API

Detailed Description

Macros

#define LED_COUNT   1
 
#define LED_PROPERTIES   {{0, 8, true, IOCON_PIO0_8}} /* LED1 LED_RED */
 
#define I2C_IRQHANDLER_UCODE
 
#define LED_RED   LED_(0)
 
#define UCODE_PULLUP_COUNT   4
 
#define UCODE_PULLUPS   {0, 1, 3, 7}
 

Macro Definition Documentation

◆ LED_COUNT

#define LED_COUNT   1

The number of LEDs supported by the Demo PCB. Matches the length of LED_PROPERTIES.

◆ LED_PROPERTIES

#define LED_PROPERTIES   {{0, 8, true, IOCON_PIO0_8}} /* LED1 LED_RED */

The LED properties for the supported LEDs of the Demo PCB.

See also
LED_PROPERTIES_T

◆ LED_RED

#define LED_RED   LED_(0)

Easier to remember macro name for the first LED

◆ UCODE_PULLUP_COUNT

#define UCODE_PULLUP_COUNT   4

Overriding the default diversity settings to match the board layout.
See Diversity Settings

◆ UCODE_PULLUPS

#define UCODE_PULLUPS   {0, 1, 3, 7}

Overriding the default diversity settings to match the board layout.
See Diversity Settings

◆ I2C_IRQHANDLER_UCODE

#define I2C_IRQHANDLER_UCODE

For the HW I2C block to be used, an I2C interrupt handler must be defined. Enabling this define enables the implementation in the ucode module.