56 #ifndef BSP430_PLATFORM_EXP430FR5969_PLATFORM_H
57 #define BSP430_PLATFORM_EXP430FR5969_PLATFORM_H
61 #define BSP430_PLATFORM_EXP430FR5969 1
66 #define BSP430_PLATFORM_BUTTON0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
67 #define BSP430_PLATFORM_BUTTON0_PORT_BIT BIT5
68 #define BSP430_PLATFORM_BUTTON1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
69 #define BSP430_PLATFORM_BUTTON1_PORT_BIT BIT1
72 #define BSP430_LED_RED 0
73 #define BSP430_LED_GREEN 1
80 #define BSP430_CS_FRAM_NWAITS_FOR_FREQ(freq_) \
81 ((16000000UL < (freq_)) ? 2 : \
82 ((8000000UL < (freq_)) ? 1 : \
87 #ifndef BSP430_TIMER_CCACLK_ACLK_CCIDX
89 #define BSP430_TIMER_CCACLK_ACLK_CCIDX 2
91 #ifndef BSP430_TIMER_CCACLK_ACLK_CCIS
93 #define BSP430_TIMER_CCACLK_ACLK_CCIS CCIS_1
95 #ifndef BSP430_TIMER_CCACLK_CLK_PORT_BIT
97 #define BSP430_TIMER_CCACLK_CLK_PORT_BIT BIT1
99 #ifndef BSP430_TIMER_CCACLK_CC0_PORT_BIT
101 #define BSP430_TIMER_CCACLK_CC0_PORT_BIT BIT7
103 #ifndef BSP430_TIMER_CCACLK_CC1_PORT_BIT
105 #define BSP430_TIMER_CCACLK_CC1_PORT_BIT BIT2
110 #if (configBSP430_RF_CC3000BOOST - 0)
111 #define BSP430_RF_CC3000 1
112 #define BSP430_RF_CC3000_SPI_PERIPH_HANDLE BSP430_PERIPH_EUSCI_B0
113 #define BSP430_RF_CC3000_PWR_EN_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
114 #define BSP430_RF_CC3000_PWR_EN_PORT_BIT BIT2
115 #define BSP430_RF_CC3000_SCLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
116 #define BSP430_RF_CC3000_SCLK_PORT_BIT BIT2
117 #define BSP430_RF_CC3000_IRQn_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
118 #define BSP430_RF_CC3000_IRQn_PORT_BIT BIT2
119 #define BSP430_RF_CC3000_IRQn_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
120 #define BSP430_RF_CC3000_IRQn_TIMER_CCIDX 1
121 #define BSP430_RF_CC3000_IRQn_TIMER_CCIS CCIS_0
122 #define BSP430_RF_CC3000_CSn_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT3
123 #define BSP430_RF_CC3000_CSn_PORT_BIT BIT0
124 #define BSP430_RF_CC3000_MOSI_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
125 #define BSP430_RF_CC3000_MOSI_PORT_BIT BIT6
126 #define BSP430_RF_CC3000_MISO_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
127 #define BSP430_RF_CC3000_MISO_PORT_BIT BIT7
134 #if (configBSP430_RF_ANAREN_CC110L - 0)
135 #define BSP430_RF_CC110X 1
136 #define BSP430_RF_CC110X_SPI_PERIPH_HANDLE BSP430_PERIPH_EUSCI_B0
137 #define BSP430_RF_CC110X_GDO2_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
138 #define BSP430_RF_CC110X_GDO2_PORT_BIT BIT2
139 #define BSP430_RF_CC110X_GDO0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
140 #define BSP430_RF_CC110X_GDO0_PORT_BIT BIT2
141 #define BSP430_RF_CC110X_GDO0_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
142 #define BSP430_RF_CC110X_GDO0_TIMER_CCIDX 1
143 #define BSP430_RF_CC110X_GDO0_TIMER_CCIS CCIS_0
144 #define BSP430_RF_CC110X_CSn_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT3
145 #define BSP430_RF_CC110X_CSn_PORT_BIT BIT0
146 #define BSP430_RF_CC110X_GDO1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
147 #define BSP430_RF_CC110X_GDO1_PORT_BIT BIT7
148 #define BSP430_RF_CC110X_GDO1_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB0
149 #define BSP430_RF_CC110X_GDO1_TIMER_CCIDX 4
150 #define BSP430_RF_CC110X_GDO1_TIMER_CCIS CCIS_1
157 #if (configBSP430_RFEM_CCEM - 0)
158 #define BSP430_RFEM_CCEM 1
159 #define BSP430_RFEM 1
161 #if (BSP430_RFEM_CCEM - 0)
162 #define BSP430_RFEM_SERIAL_PERIPH_HANDLE BSP430_PERIPH_EUSCI_B0
163 #define BSP430_RFEM_RF1P3_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
164 #define BSP430_RFEM_RF1P3_PORT_BIT BIT4
165 #define BSP430_RFEM_RF1P3_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB0
166 #define BSP430_RFEM_RF1P3_TIMER_CCIDX 1
167 #define BSP430_RFEM_RF1P3_TIMER_CCIS CCIS_0
168 #define BSP430_RFEM_RF1P7_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
169 #define BSP430_RFEM_RF1P7_PORT_BIT BIT5
170 #define BSP430_RFEM_RF1P7_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB0
171 #define BSP430_RFEM_RF1P7_TIMER_CCIDX 0
172 #define BSP430_RFEM_RF1P7_TIMER_CCIS CCIS_1
173 #define BSP430_RFEM_RF1P9_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
174 #define BSP430_RFEM_RF1P9_PORT_BIT BIT6
175 #define BSP430_RFEM_RF1P10_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
176 #define BSP430_RFEM_RF1P10_PORT_BIT BIT2
177 #define BSP430_RFEM_RF1P10_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
178 #define BSP430_RFEM_RF1P10_TIMER_CCIDX 1
179 #define BSP430_RFEM_RF1P10_TIMER_CCIS CCIS_0
180 #define BSP430_RFEM_RF1P12_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
181 #define BSP430_RFEM_RF1P12_PORT_BIT BIT2
182 #define BSP430_RFEM_RF1P14_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT3
183 #define BSP430_RFEM_RF1P14_PORT_BIT BIT0
184 #define BSP430_RFEM_RF1P16_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
185 #define BSP430_RFEM_RF1P16_PORT_BIT BIT2
186 #define BSP430_RFEM_RF1P18_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
187 #define BSP430_RFEM_RF1P18_PORT_BIT BIT6
188 #define BSP430_RFEM_RF1P18_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB0
189 #define BSP430_RFEM_RF1P18_TIMER_CCIDX 3
190 #define BSP430_RFEM_RF1P18_TIMER_CCIS CCIS_1
191 #define BSP430_RFEM_RF1P20_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
192 #define BSP430_RFEM_RF1P20_PORT_BIT BIT7
193 #define BSP430_RFEM_RF1P20_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB0
194 #define BSP430_RFEM_RF1P20_TIMER_CCIDX 4
195 #define BSP430_RFEM_RF1P20_TIMER_CCIS CCIS_1
196 #define BSP430_RFEM_RF2P15_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
197 #define BSP430_RFEM_RF2P15_PORT_BIT BIT5
198 #define BSP430_RFEM_RF2P15_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB0
199 #define BSP430_RFEM_RF2P15_TIMER_CCIDX 2
200 #define BSP430_RFEM_RF2P15_TIMER_CCIS CCIS_0
201 #define BSP430_RFEM_RF2P18_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
202 #define BSP430_RFEM_RF2P18_PORT_BIT BIT3
203 #define BSP430_RFEM_RF2P18_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
204 #define BSP430_RFEM_RF2P18_TIMER_CCIDX 2
205 #define BSP430_RFEM_RF2P18_TIMER_CCIS CCIS_0
206 #define BSP430_RFEM_RF2P19_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT3
207 #define BSP430_RFEM_RF2P19_PORT_BIT BIT6
208 #define BSP430_RFEM_RF2P19_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB0
209 #define BSP430_RFEM_RF2P19_TIMER_CCIDX 5
210 #define BSP430_RFEM_RF2P19_TIMER_CCIS CCIS_0
215 #if (configBSP430_PLATFORM_BOOSTERPACK_SHARP96 - 0)
217 #define BSP430_PLATFORM_SHARPLCD_CS_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
218 #define BSP430_PLATFORM_SHARPLCD_CS_PORT_BIT BIT4
219 #define BSP430_PLATFORM_SHARPLCD_LCD_EN_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
220 #define BSP430_PLATFORM_SHARPLCD_LCD_EN_PORT_BIT BIT3
221 #define BSP430_PLATFORM_SHARPLCD_PWR_EN_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
222 #define BSP430_PLATFORM_SHARPLCD_PWR_EN_PORT_BIT BIT2
223 #define BSP430_PLATFORM_SHARPLCD_SPI_PERIPH_HANDLE BSP430_PERIPH_EUSCI_B0