Appiko
sys_config.h
1 /*
2  * sys_config.h : List of all the peripheral devices used by SenseBe
3  * Copyright (C) 2019 Appiko
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <https://www.gnu.org/licenses/>.
17  */
18 
33 #ifndef SYS_CONFIG_H
34 #define SYS_CONFIG_H
35 
37 #define HAL_PWM_PERIPH_USED 0
38 
39 #define HAL_SPIM_PERIPH_USED 0
40 
41 #define HAL_TWIM_PERIPH_USED 0
42 
43 #define HAL_UART_PERIPH_USED 0
44 
45 #define HAL_RADIO_PERIPH_USED 0
46 
48 #define RTC_USED_MS_TIMER 1
49 
50 #define RTC_USED_TSSP_DETECT 0
51 
52 #define MS_TIMER_USED_DEVICE_TICKS 0
53 
54 #define MS_TIMER_USED_OUT_GEN 1
55 
56 #define MS_TIMER_USED_SENSBE_TX_RX 2
57 
58 #define MS_TIMER_USED_SENSEBE_RADIO_CONTROL 3
59 
60 #define PPI_CH_USED_TSSP_DETECT_1 0
61 
62 #define PPI_CH_USED_TSSP_DETECT_2 1
63 
64 #define PPI_CH_USED_TSSP_IR_TX_1 2
65 
66 #define PPI_CH_USED_TSSP_IR_TX_2 3
67 
68 #define PPI_CH_USED_TSSP_IR_TX_3 4
69 
70 #define PPI_CH_USED_TSSP_IR_TX_4 5
71 
72 #define PPI_CH_USED_EXTRA 6
73 
74 #define GPIOTE_CH_USED_BUTTON_UI_PORT
75 
76 #define GPIOTE_CH_USED_TSSP_DETECT 0
77 
78 #define GPIOTE_CH_USED_TSSP_IR_TX_1 1
79 
80 #define GPIOTE_CH_USED_TSSP_IR_TX_2 2
81 
82 #define GPIOTE_CH_USED_EXTRA 7
83 
84 #define TIMER_USED_TSSP_IR_TX_1 2
85 
86 #define TIMER_USED_TSSP_IR_TX_2 1
87 #define TIMER_USED_RADIO_TRIGGER 0
88 
89 #define TIMER_USED_EXTRA 0 //Shared with softdevices
90 
91 #define TIMER_CHANNEL_USED_TSSP_IR_TX_1_1 0
92 
93 #define TIMER_CHANNEL_USED_TSSP_IR_TX_2_1 0
94 
95 #define TIMER_CHANNEL_USED_TSSP_IR_TX_2_2 3
96 #define TIMER_CHANNEL_USED_RADIO_TRIGGER_0 0
97 #define TIMER_CHANNEL_USED_RADIO_TRIGGER_1 1
98 #define TIMER_CHANNEL_USED_RADIO_TRIGGER_2 2
99 
101 #define EGU_USED_TSSP_DETECT 0
102 
103 #define EGU_CHANNEL_USED_TSSP_DETECT 0
104 
105 #define SAADC_CHANNEL_USED_SIMPLE_ADC 1
106 
107 #define SWI_SENSEBE_BLE_USED 1
108 
109 #define SWI_USED_EVT_SD_HANDLER 2
110 #endif /* SYS_CONFIG_H */
111