NHS31xx SW API
lib_board_dpahu/mods/board_sel.h
1 /*
2  * Copyright 2018-2019 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 
18 #ifndef __BOARD_SEL_H_
19 #define __BOARD_SEL_H_
20 
25 #define LED_COUNT 1
26 
31 #define LED_PROPERTIES {{0, 8, true, IOCON_PIO0_8}} /* LED_RED */
32 
34 #define LED_RED LED_(0)
35 
36 /* ------------------------------------------------------------------------- */
37 
42 #define ACCEL_CHIP_FXLS8972CF
43 #define ACCEL_I2C_HW
44 #define HUMID_CHIP_SHTC3 0
45 #define HUMID_CHIP_HTU21D 1
46 
52 #define ACCEL_SHOCK_ENABLE 1
53 #define ACCEL_SHAKE_ENABLE 0
54 #define ACCEL_VIBRATION_ENABLE 0
55 #define ACCEL_TILT_ENABLE 1
56 
62 #define HUMID_I2C_HW 0
63 #define HUMID_I2C_BB 1
64 #define HUMID_POWER_PIN 7
65 
71 #define UCODE_I2C_HW 0
72 #define UCODE_I2C_BB 1
73 #define UCODE_I2C_SLAVE_ADDRESS 0x51
74 #define UCODE_I2C_POWER_PIN 7
75 
81 #define I2CBBM_DEFAULT_I2C_ADDRESS UCODE_I2C_SLAVE_ADDRESS
82 #define I2CBBM_CLK_PIN 1
83 #define I2CBBM_DAT_PIN 2
84 
99 #define I2C_IRQHANDLER_BOARD
100 
101 #endif