10#include <zephyr/kernel.h>
23#define BOARD_PCA10121_0_0_0_MSK (BIT(0))
24#define BOARD_PCA10121_0_6_0_MSK (BIT(1))
25#define BOARD_PCA10121_0_7_0_MSK (BIT(2))
26#define BOARD_PCA10121_0_7_1_MSK (BIT(3))
27#define BOARD_PCA10121_0_8_0_MSK (BIT(4))
28#define BOARD_PCA10121_0_8_1_MSK (BIT(5))
29#define BOARD_PCA10121_0_8_2_MSK (BIT(6))
30#define BOARD_PCA10121_0_9_0_MSK (BIT(7))
31#define BOARD_PCA10121_0_10_0_MSK (BIT(8))
32#define BOARD_PCA10121_1_0_0_MSK (BIT(9))
33#define BOARD_PCA10121_1_1_0_MSK (BIT(10))
34#define BOARD_PCA10121_1_2_0_MSK (BIT(11))
52#define BOARD_VERSION_VALID_MSK \
53 (BOARD_PCA10121_0_8_0_MSK | BOARD_PCA10121_0_8_1_MSK | BOARD_PCA10121_0_8_2_MSK | \
54 BOARD_PCA10121_0_9_0_MSK | BOARD_PCA10121_0_10_0_MSK | BOARD_PCA10121_1_0_0_MSK | \
55 BOARD_PCA10121_1_1_0_MSK | BOARD_PCA10121_1_2_0_MSK)
57#define BOARD_VERSION_VALID_MSK_SD_CARD \
58 (BOARD_PCA10121_0_8_0_MSK | BOARD_PCA10121_0_8_1_MSK | BOARD_PCA10121_0_8_2_MSK | \
59 BOARD_PCA10121_0_9_0_MSK | BOARD_PCA10121_0_10_0_MSK | BOARD_PCA10121_1_0_0_MSK | \
60 BOARD_PCA10121_1_1_0_MSK | BOARD_PCA10121_1_2_0_MSK)
#define BOARD_PCA10121_0_8_1_MSK
Definition: board.h:28
#define BOARD_PCA10121_0_9_0_MSK
Definition: board.h:30
static const struct board_version BOARD_VERSION_ARR[]
Definition: board.h:36
#define BOARD_PCA10121_1_2_0_MSK
Definition: board.h:34
#define BOARD_PCA10121_0_8_0_MSK
Definition: board.h:27
#define BOARD_PCA10121_1_0_0_MSK
Definition: board.h:32
#define BOARD_PCA10121_0_7_1_MSK
Definition: board.h:26
#define BOARD_PCA10121_0_10_0_MSK
Definition: board.h:31
#define BOARD_PCA10121_0_7_0_MSK
Definition: board.h:25
#define BOARD_PCA10121_0_8_2_MSK
Definition: board.h:29
#define BOARD_PCA10121_0_0_0_MSK
Definition: board.h:23
#define BOARD_PCA10121_1_1_0_MSK
Definition: board.h:33
#define BOARD_PCA10121_0_6_0_MSK
Definition: board.h:24
char name[10]
Definition: board.h:18
uint32_t mask
Definition: board.h:19
uint32_t adc_reg_val
Definition: board.h:20