![]() |
NHS31xx SW API
|
The Demo PCB is the promoted HW board for the evaluation of NHS31xx family ICs along with the respective SDK.
The Demo PCB provides a couple of features, which are exposed at SW level:
The initialization function performs initialization of the LED and adds the correct pulls to all the PIOs.
Modules | |
Board diversity overrides | |
Macros | |
#define | BOARD_DP |
#define | BOARD_ENABLE_WAKEUP |
Functions | |
void | Board_Init (void) |
#define | BOARD_PIO0_PULL IOCON_RMODE_PULLUP |
#define | BOARD_PIO1_PULL IOCON_RMODE_PULLDOWN |
#define | BOARD_PIO2_PULL IOCON_RMODE_PULLDOWN |
#define | BOARD_PIO3_PULL IOCON_RMODE_PULLDOWN |
#define | BOARD_PIO4_PULL IOCON_RMODE_PULLDOWN |
#define | BOARD_PIO5_PULL IOCON_RMODE_PULLDOWN |
#define | BOARD_PIO6_PULL IOCON_RMODE_PULLDOWN |
#define | BOARD_PIO7_PULL IOCON_RMODE_PULLDOWN |
#define | BOARD_PIO8_PULL IOCON_RMODE_PULLDOWN |
#define | BOARD_PIO9_PULL IOCON_RMODE_PULLUP /* When using pin9 for UARTTX, a pull-up prevents undesired 'break' conditions. */ |
#define | BOARD_PIO10_PULL IOCON_RMODE_PULLDOWN |
#define | BOARD_PIO11_PULL IOCON_RMODE_PULLDOWN |
#define BOARD_DP |
A unique define for the Development PCB. Applications or modules can use this define to enable/disable code at compile time based on the board being used.
#define BOARD_PIO0_PULL IOCON_RMODE_PULLUP |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_PIO1_PULL IOCON_RMODE_PULLDOWN |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_PIO2_PULL IOCON_RMODE_PULLDOWN |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_PIO3_PULL IOCON_RMODE_PULLDOWN |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_PIO4_PULL IOCON_RMODE_PULLDOWN |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_PIO5_PULL IOCON_RMODE_PULLDOWN |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_PIO6_PULL IOCON_RMODE_PULLDOWN |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_PIO7_PULL IOCON_RMODE_PULLDOWN |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_PIO8_PULL IOCON_RMODE_PULLDOWN |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_PIO9_PULL IOCON_RMODE_PULLUP /* When using pin9 for UARTTX, a pull-up prevents undesired 'break' conditions. */ |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_PIO10_PULL IOCON_RMODE_PULLDOWN |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_PIO11_PULL IOCON_RMODE_PULLDOWN |
Depending on the peripherals on the board, power consumption is minimized by adding pull-ups or -downs on the digital pins. These are added at startup in Board_Init and should have these pulls when the pins are not in use.
#define BOARD_ENABLE_WAKEUP |
If defined, a push button or similar is attached to PIO0 and can wake up the IC when in Deep Power Down.
void Board_Init | ( | void | ) |
Sets up and initializes all required blocks and functions related to the board hardware.