NHS31xx SW API

Detailed Description

These 'defines' capture the diversity settings of the compound. It keeps the settings about 'sensing groups', it actually holds the configurations of the demo board/smart blister.

Macros

#define GROUP_COUNT   4
 
#define GROUP_MAX_PILLS   4
 
#define GROUP_PROPERTIES
 

Macro Definition Documentation

◆ GROUP_COUNT

#define GROUP_COUNT   4

USECASE to be defined in the build configuration USECASE 10: (10 pills) Demo without extra components. The number of groups present in this use case. Matches the length of GROUP_PROPERTIES.

◆ GROUP_MAX_PILLS

#define GROUP_MAX_PILLS   4

The maximum number of pills in a single groups. Matches the maximum length of GROUP_PROPERTIES_T::IO_sensePin.

◆ GROUP_PROPERTIES

#define GROUP_PROPERTIES
Value:
{ /* GROUP 1 */ {IOCON_PIO0_2 , { /* pill 1.1 */ IOCON_PIO0_6, \
/* pill 1.2 */ IOCON_PIO0_8, \
/* pill 1.3 */ IOCON_PIO0_9, \
/* pill 1.4 */ IOCON_PIO0_3}, 4}, \
/* GROUP 2 */ {IOCON_PIO0_1 , { /* pill 2.1 */ IOCON_PIO0_8, \
/* pill 2.2 */ IOCON_PIO0_9, \
/* pill 2.3 */ IOCON_PIO0_3}, 3}, \
/* GROUP 3 */ {IOCON_PIO0_5 , { /* pill 3.1 */ IOCON_PIO0_6, \
/* pill 3.2 */ IOCON_PIO0_8, \
/* pill 3.3 */ IOCON_PIO0_9, \
/* pill 3.4 */ IOCON_PIO0_3}, 4}, \
/* GROUP 4 */ {IOCON_PIO0_4 , { /* pill 4.1 */ IOCON_PIO0_8, \
/* pill 4.2 */ IOCON_PIO0_9, \
/* pill 4.3 */ IOCON_PIO0_3}, 3}}
Definition: iocon_nss.h:101
Definition: iocon_nss.h:96
Definition: iocon_nss.h:100
Definition: iocon_nss.h:99
Definition: iocon_nss.h:104
Definition: iocon_nss.h:103
Definition: iocon_nss.h:98
Definition: iocon_nss.h:97

The group properties for the 4 groups present on the demo PCB. Declared global, so they can be assigned to macro GROUP_PROPERTIES.