NHS31xx SW API
lib_board_label/inc/board.h
1 /*
2  * Copyright 2017-2018,2020 NXP
3  * This software is owned or controlled by NXP and may only be used strictly
4  * in accordance with the applicable license terms. By expressly accepting
5  * such terms or by downloading, installing, activating and/or otherwise using
6  * the software, you are agreeing that you have read, and that you agree to
7  * comply with and are bound by, such license terms. If you do not agree to
8  * be bound by the applicable license terms, then you may not retain, install,
9  * activate or otherwise use the software.
10  */
11 
12 #ifndef __BOARD_H_
13 #define __BOARD_H_
14 
15 #include "chip.h"
16 
50 #define BOARD_LABEL
51 
58 #define BOARD_PIO0_PULL IOCON_RMODE_PULLDOWN
59 #define BOARD_PIO1_PULL IOCON_RMODE_PULLDOWN
60 #define BOARD_PIO2_PULL IOCON_RMODE_PULLDOWN
61 #define BOARD_PIO3_PULL IOCON_RMODE_PULLDOWN
62 #define BOARD_PIO4_PULL IOCON_RMODE_PULLDOWN
63 #define BOARD_PIO5_PULL IOCON_RMODE_PULLDOWN
64 #define BOARD_PIO6_PULL IOCON_RMODE_PULLDOWN
65 #define BOARD_PIO7_PULL IOCON_RMODE_PULLDOWN
66 #define BOARD_PIO8_PULL IOCON_RMODE_PULLDOWN
67 #define BOARD_PIO9_PULL IOCON_RMODE_PULLDOWN
68 #define BOARD_PIO10_PULL IOCON_RMODE_PULLDOWN
69 #define BOARD_PIO11_PULL IOCON_RMODE_PULLDOWN
70 
73 #undef BOARD_ENABLE_WAKEUP
74 #if defined(BOARD_ENABLE_WAKEUP) && (BOARD_PIO0_PULL != IOCON_RMODE_PULLUP)
75  #error Wake up functionality cannot work without a pull-up on PIO0.
76 #endif
77 
94 void Board_Init(void);
95 
96 #endif
void Board_Init(void)