1 /*
2 ** ###################################################################
3 **     Version:             rev. 1.1, 2019-12-03
4 **     Build:               b220725
5 **
6 **     Abstract:
7 **         Chip specific module features.
8 **
9 **     Copyright 2016 Freescale Semiconductor, Inc.
10 **     Copyright 2016-2022 NXP
11 **     All rights reserved.
12 **
13 **     SPDX-License-Identifier: BSD-3-Clause
14 **
15 **     http:                 www.nxp.com
16 **     mail:                 support@nxp.com
17 **
18 **     Revisions:
19 **     - rev. 1.0 (2018-08-22)
20 **         Initial version based on v0.2UM
21 **     - rev. 1.1 (2019-12-03)
22 **         Initial version based on v0.6UM
23 **
24 ** ###################################################################
25 */
26 
27 #ifndef _LPC55S16_FEATURES_H_
28 #define _LPC55S16_FEATURES_H_
29 
30 /* SOC module features */
31 
32 /* @brief LPC_CAN availability on the SoC. */
33 #define FSL_FEATURE_SOC_LPC_CAN_COUNT (1)
34 /* @brief CASPER availability on the SoC. */
35 #define FSL_FEATURE_SOC_CASPER_COUNT (1)
36 /* @brief CRC availability on the SoC. */
37 #define FSL_FEATURE_SOC_CRC_COUNT (1)
38 /* @brief CTIMER availability on the SoC. */
39 #define FSL_FEATURE_SOC_CTIMER_COUNT (5)
40 /* @brief CDOG availability on the SoC. */
41 #define FSL_FEATURE_SOC_CDOG_COUNT (1)
42 /* @brief DMA availability on the SoC. */
43 #define FSL_FEATURE_SOC_DMA_COUNT (2)
44 /* @brief FLASH availability on the SoC. */
45 #define FSL_FEATURE_SOC_FLASH_COUNT (1)
46 /* @brief FLEXCOMM availability on the SoC. */
47 #define FSL_FEATURE_SOC_FLEXCOMM_COUNT (9)
48 /* @brief GINT availability on the SoC. */
49 #define FSL_FEATURE_SOC_GINT_COUNT (2)
50 /* @brief GPIO availability on the SoC. */
51 #define FSL_FEATURE_SOC_GPIO_COUNT (1)
52 /* @brief SECGPIO availability on the SoC. */
53 #define FSL_FEATURE_SOC_SECGPIO_COUNT (1)
54 /* @brief HASHCRYPT availability on the SoC. */
55 #define FSL_FEATURE_SOC_HASHCRYPT_COUNT (1)
56 /* @brief I2C availability on the SoC. */
57 #define FSL_FEATURE_SOC_I2C_COUNT (8)
58 /* @brief I2S availability on the SoC. */
59 #define FSL_FEATURE_SOC_I2S_COUNT (8)
60 /* @brief INPUTMUX availability on the SoC. */
61 #define FSL_FEATURE_SOC_INPUTMUX_COUNT (1)
62 /* @brief IOCON availability on the SoC. */
63 #define FSL_FEATURE_SOC_IOCON_COUNT (1)
64 /* @brief LPADC availability on the SoC. */
65 #define FSL_FEATURE_SOC_LPADC_COUNT (1)
66 /* @brief MPU availability on the SoC. */
67 #define FSL_FEATURE_SOC_MPU_COUNT (1)
68 /* @brief MRT availability on the SoC. */
69 #define FSL_FEATURE_SOC_MRT_COUNT (1)
70 /* @brief OSTIMER availability on the SoC. */
71 #define FSL_FEATURE_SOC_OSTIMER_COUNT (1)
72 /* @brief PINT availability on the SoC. */
73 #define FSL_FEATURE_SOC_PINT_COUNT (1)
74 /* @brief SECPINT availability on the SoC. */
75 #define FSL_FEATURE_SOC_SECPINT_COUNT (1)
76 /* @brief PMC availability on the SoC. */
77 #define FSL_FEATURE_SOC_PMC_COUNT (1)
78 /* @brief PUF availability on the SoC. */
79 #define FSL_FEATURE_SOC_PUF_COUNT (1)
80 /* @brief PUF_SRAM_CTRL availability on the SoC. */
81 #define FSL_FEATURE_SOC_PUF_SRAM_CTRL_COUNT (1)
82 /* @brief LPC_RNG1 availability on the SoC. */
83 #define FSL_FEATURE_SOC_LPC_RNG1_COUNT (1)
84 /* @brief RTC availability on the SoC. */
85 #define FSL_FEATURE_SOC_RTC_COUNT (1)
86 /* @brief SCT availability on the SoC. */
87 #define FSL_FEATURE_SOC_SCT_COUNT (1)
88 /* @brief SPI availability on the SoC. */
89 #define FSL_FEATURE_SOC_SPI_COUNT (9)
90 /* @brief SYSCON availability on the SoC. */
91 #define FSL_FEATURE_SOC_SYSCON_COUNT (1)
92 /* @brief SYSCTL1 availability on the SoC. */
93 #define FSL_FEATURE_SOC_SYSCTL1_COUNT (1)
94 /* @brief USART availability on the SoC. */
95 #define FSL_FEATURE_SOC_USART_COUNT (8)
96 /* @brief USB availability on the SoC. */
97 #define FSL_FEATURE_SOC_USB_COUNT (1)
98 /* @brief USBFSH availability on the SoC. */
99 #define FSL_FEATURE_SOC_USBFSH_COUNT (1)
100 /* @brief USBHSD availability on the SoC. */
101 #define FSL_FEATURE_SOC_USBHSD_COUNT (1)
102 /* @brief USBHSH availability on the SoC. */
103 #define FSL_FEATURE_SOC_USBHSH_COUNT (1)
104 /* @brief USBPHY availability on the SoC. */
105 #define FSL_FEATURE_SOC_USBPHY_COUNT (1)
106 /* @brief UTICK availability on the SoC. */
107 #define FSL_FEATURE_SOC_UTICK_COUNT (1)
108 /* @brief WWDT availability on the SoC. */
109 #define FSL_FEATURE_SOC_WWDT_COUNT (1)
110 
111 /* LPADC module features */
112 
113 /* @brief FIFO availability on the SoC. */
114 #define FSL_FEATURE_LPADC_FIFO_COUNT (2)
115 /* @brief Has subsequent trigger priority (bitfield CFG[TPRICTRL]). */
116 #define FSL_FEATURE_LPADC_HAS_CFG_SUBSEQUENT_PRIORITY (1)
117 /* @brief Has differential mode (bitfield CMDLn[DIFF]). */
118 #define FSL_FEATURE_LPADC_HAS_CMDL_DIFF (0)
119 /* @brief Has channel scale (bitfield CMDLn[CSCALE]). */
120 #define FSL_FEATURE_LPADC_HAS_CMDL_CSCALE (0)
121 /* @brief Has conversion type select (bitfield CMDLn[CTYPE]). */
122 #define FSL_FEATURE_LPADC_HAS_CMDL_CTYPE (1)
123 /* @brief Has conversion resolution select  (bitfield CMDLn[MODE]). */
124 #define FSL_FEATURE_LPADC_HAS_CMDL_MODE (1)
125 /* @brief Has compare function enable (bitfield CMDHn[CMPEN]). */
126 #define FSL_FEATURE_LPADC_HAS_CMDH_CMPEN (1)
127 /* @brief Has Wait for trigger assertion before execution (bitfield CMDHn[WAIT_TRIG]). */
128 #define FSL_FEATURE_LPADC_HAS_CMDH_WAIT_TRIG (1)
129 /* @brief Has offset calibration (bitfield CTRL[CALOFS]). */
130 #define FSL_FEATURE_LPADC_HAS_CTRL_CALOFS (1)
131 /* @brief Has gain calibration (bitfield CTRL[CAL_REQ]). */
132 #define FSL_FEATURE_LPADC_HAS_CTRL_CAL_REQ (1)
133 /* @brief Has calibration average (bitfield CTRL[CAL_AVGS]). */
134 #define FSL_FEATURE_LPADC_HAS_CTRL_CAL_AVGS (1)
135 /* @brief Has internal clock (bitfield CFG[ADCKEN]). */
136 #define FSL_FEATURE_LPADC_HAS_CFG_ADCKEN (0)
137 /* @brief Enable support for low voltage reference on option 1 reference (bitfield CFG[VREF1RNG]). */
138 #define FSL_FEATURE_LPADC_HAS_CFG_VREF1RNG (0)
139 /* @brief Has calibration (bitfield CFG[CALOFS]). */
140 #define FSL_FEATURE_LPADC_HAS_CFG_CALOFS (0)
141 /* @brief Has offset trim (register OFSTRIM). */
142 #define FSL_FEATURE_LPADC_HAS_OFSTRIM (1)
143 /* @brief Has Trigger status register. */
144 #define FSL_FEATURE_LPADC_HAS_TSTAT (1)
145 /* @brief Has power select (bitfield CFG[PWRSEL]). */
146 #define FSL_FEATURE_LPADC_HAS_CFG_PWRSEL (1)
147 /* @brief Has alternate channel B scale (bitfield CMDLn[ALTB_CSCALE]). */
148 #define FSL_FEATURE_LPADC_HAS_CMDL_ALTB_CSCALE (0)
149 /* @brief Has alternate channel B select enable (bitfield CMDLn[ALTBEN]). */
150 #define FSL_FEATURE_LPADC_HAS_CMDL_ALTBEN (0)
151 /* @brief Has alternate channel input (bitfield CMDLn[ALTB_ADCH]). */
152 #define FSL_FEATURE_LPADC_HAS_CMDL_ALTB_ADCH (0)
153 /* @brief Has offset calibration mode (bitfield CTRL[CALOFSMODE]). */
154 #define FSL_FEATURE_LPADC_HAS_CTRL_CALOFSMODE (0)
155 /* @brief Conversion averaged bitfiled width. */
156 #define FSL_FEATURE_LPADC_CONVERSIONS_AVERAGED_BITFIELD_WIDTH (3)
157 /* @brief Has internal temperature sensor. */
158 #define FSL_FEATURE_LPADC_HAS_INTERNAL_TEMP_SENSOR (1)
159 /* @brief Temperature sensor parameter A (slope). */
160 #define FSL_FEATURE_LPADC_TEMP_PARAMETER_A (799.0f)
161 /* @brief Temperature sensor parameter B (offset). */
162 #define FSL_FEATURE_LPADC_TEMP_PARAMETER_B (280.0f)
163 /* @brief Temperature sensor parameter Alpha. */
164 #define FSL_FEATURE_LPADC_TEMP_PARAMETER_ALPHA (8.5f)
165 /* @brief Temperature sensor need calibration. */
166 #define FSL_FEATURE_LPADC_TEMP_NEED_CALIBRATION (1)
167 /* @brief the address of temperature sensor parameter A (slope) in Flash. */
168 #define FSL_FEATURE_FLASH_NMPA_TEMP_SLOPE_ADDRS (0x3FD28U)
169 /* @brief the address of temperature sensor parameter B (offset) in Flash. */
170 #define FSL_FEATURE_FLASH_NMPA_TEMP_OFFSET_ADDRS (0x3FD2CU)
171 /* @brief the buffer size of temperature sensor. */
172 #define FSL_FEATURE_LPADC_TEMP_SENS_BUFFER_SIZE (2U)
173 
174 /* ANALOGCTRL module features */
175 
176 /* @brief Has PLL_USB_OUT_BIT_FIELD bitfile in XO32M_CTRL reigster. */
177 #define FSL_FEATURE_ANACTRL_HAS_NO_ENABLE_PLL_USB_OUT_BIT_FIELD (1)
178 /* @brief Has XO32M_ADC_CLK_MODE bitfile in DUMMY_CTRL reigster. */
179 #define FSL_FEATURE_ANACTRL_HAS_XO32M_ADC_CLK_MODE_BIF_FIELD (1)
180 /* @brief Has auxiliary bias(register AUX_BIAS). */
181 #define FSL_FEATURE_ANACTRL_HAS_AUX_BIAS_REG (1)
182 
183 /* CAN module features */
184 
185 /* @brief Support CANFD or not */
186 #define FSL_FEATURE_CAN_SUPPORT_CANFD (1)
187 
188 /* CASPER module features */
189 
190 /* @brief Base address of the CASPER dedicated RAM */
191 #define FSL_FEATURE_CASPER_RAM_BASE_ADDRESS (0x04000000)
192 /* @brief HW interleaving of the CASPER dedicated RAM */
193 #define FSL_FEATURE_CASPER_RAM_HW_INTERLEAVE (1)
194 
195 /* CTIMER module features */
196 
197 /* @brief CTIMER has no capture channel. */
198 #define FSL_FEATURE_CTIMER_HAS_NO_INPUT_CAPTURE (0)
199 /* @brief CTIMER has no capture 2 interrupt. */
200 #define FSL_FEATURE_CTIMER_HAS_NO_IR_CR2INT (0)
201 /* @brief CTIMER capture 3 interrupt. */
202 #define FSL_FEATURE_CTIMER_HAS_IR_CR3INT (1)
203 /* @brief Has CTIMER CCR_CAP2 (register bits CCR[CAP2RE][CAP2FE][CAP2I]. */
204 #define FSL_FEATURE_CTIMER_HAS_NO_CCR_CAP2 (0)
205 /* @brief Has CTIMER CCR_CAP3 (register bits CCR[CAP3RE][CAP3FE][CAP3I]). */
206 #define FSL_FEATURE_CTIMER_HAS_CCR_CAP3 (1)
207 /* @brief CTIMER Has register MSR */
208 #define FSL_FEATURE_CTIMER_HAS_MSR (1)
209 
210 /* DMA module features */
211 
212 /* @brief Number of channels */
213 #define FSL_FEATURE_DMA_NUMBER_OF_CHANNELS (23)
214 /* @brief Align size of DMA descriptor */
215 #define FSL_FEATURE_DMA_DESCRIPTOR_ALIGN_SIZE (512)
216 /* @brief DMA head link descriptor table align size */
217 #define FSL_FEATURE_DMA_LINK_DESCRIPTOR_ALIGN_SIZE (16U)
218 
219 /* FLEXCOMM module features */
220 
221 /* @brief FLEXCOMM0 USART INDEX 0 */
222 #define FSL_FEATURE_FLEXCOMM0_USART_INDEX  (0)
223 /* @brief FLEXCOMM0 SPI INDEX 0 */
224 #define FSL_FEATURE_FLEXCOMM0_SPI_INDEX  (0)
225 /* @brief FLEXCOMM0 I2C INDEX 0 */
226 #define FSL_FEATURE_FLEXCOMM0_I2C_INDEX  (0)
227 /* @brief FLEXCOMM0 I2S INDEX 0 */
228 #define FSL_FEATURE_FLEXCOMM0_I2S_INDEX  (0)
229 /* @brief FLEXCOMM1 USART INDEX 1 */
230 #define FSL_FEATURE_FLEXCOMM1_USART_INDEX  (1)
231 /* @brief FLEXCOMM1 SPI INDEX 1 */
232 #define FSL_FEATURE_FLEXCOMM1_SPI_INDEX  (1)
233 /* @brief FLEXCOMM1 I2C INDEX 1 */
234 #define FSL_FEATURE_FLEXCOMM1_I2C_INDEX  (1)
235 /* @brief FLEXCOMM1 I2S INDEX 1 */
236 #define FSL_FEATURE_FLEXCOMM1_I2S_INDEX  (1)
237 /* @brief FLEXCOMM2 USART INDEX 2 */
238 #define FSL_FEATURE_FLEXCOMM2_USART_INDEX  (2)
239 /* @brief FLEXCOMM2 SPI INDEX 2 */
240 #define FSL_FEATURE_FLEXCOMM2_SPI_INDEX  (2)
241 /* @brief FLEXCOMM2 I2C INDEX 2 */
242 #define FSL_FEATURE_FLEXCOMM2_I2C_INDEX  (2)
243 /* @brief FLEXCOMM2 I2S INDEX 2 */
244 #define FSL_FEATURE_FLEXCOMM2_I2S_INDEX  (2)
245 /* @brief FLEXCOMM3 USART INDEX 3 */
246 #define FSL_FEATURE_FLEXCOMM3_USART_INDEX  (3)
247 /* @brief FLEXCOMM3 SPI INDEX 3 */
248 #define FSL_FEATURE_FLEXCOMM3_SPI_INDEX  (3)
249 /* @brief FLEXCOMM3 I2C INDEX 3 */
250 #define FSL_FEATURE_FLEXCOMM3_I2C_INDEX  (3)
251 /* @brief FLEXCOMM3 I2S INDEX 3 */
252 #define FSL_FEATURE_FLEXCOMM3_I2S_INDEX  (3)
253 /* @brief FLEXCOMM4 USART INDEX 4 */
254 #define FSL_FEATURE_FLEXCOMM4_USART_INDEX  (4)
255 /* @brief FLEXCOMM4 SPI INDEX 4 */
256 #define FSL_FEATURE_FLEXCOMM4_SPI_INDEX  (4)
257 /* @brief FLEXCOMM4 I2C INDEX 4 */
258 #define FSL_FEATURE_FLEXCOMM4_I2C_INDEX  (4)
259 /* @brief FLEXCOMM4 I2S INDEX 4 */
260 #define FSL_FEATURE_FLEXCOMM4_I2S_INDEX  (4)
261 /* @brief FLEXCOMM5 USART INDEX 5 */
262 #define FSL_FEATURE_FLEXCOMM5_USART_INDEX  (5)
263 /* @brief FLEXCOMM5 SPI INDEX 5 */
264 #define FSL_FEATURE_FLEXCOMM5_SPI_INDEX  (5)
265 /* @brief FLEXCOMM5 I2C INDEX 5 */
266 #define FSL_FEATURE_FLEXCOMM5_I2C_INDEX  (5)
267 /* @brief FLEXCOMM5 I2S INDEX 5 */
268 #define FSL_FEATURE_FLEXCOMM5_I2S_INDEX  (5)
269 /* @brief FLEXCOMM6 USART INDEX 6 */
270 #define FSL_FEATURE_FLEXCOMM6_USART_INDEX  (6)
271 /* @brief FLEXCOMM6 SPI INDEX 6 */
272 #define FSL_FEATURE_FLEXCOMM6_SPI_INDEX  (6)
273 /* @brief FLEXCOMM6 I2C INDEX 6 */
274 #define FSL_FEATURE_FLEXCOMM6_I2C_INDEX  (6)
275 /* @brief FLEXCOMM6 I2S INDEX 6 */
276 #define FSL_FEATURE_FLEXCOMM6_I2S_INDEX  (6)
277 /* @brief FLEXCOMM7 USART INDEX 7 */
278 #define FSL_FEATURE_FLEXCOMM7_USART_INDEX  (7)
279 /* @brief FLEXCOMM7 SPI INDEX 7 */
280 #define FSL_FEATURE_FLEXCOMM7_SPI_INDEX  (7)
281 /* @brief FLEXCOMM7 I2C INDEX 7 */
282 #define FSL_FEATURE_FLEXCOMM7_I2C_INDEX  (7)
283 /* @brief FLEXCOMM7 I2S INDEX 7 */
284 #define FSL_FEATURE_FLEXCOMM7_I2S_INDEX  (7)
285 /* @brief FLEXCOMM8 SPI(HS_SPI) INDEX 8 */
286 #define FSL_FEATURE_FLEXCOMM8_SPI_INDEX  (8)
287 /* @brief I2S has DMIC interconnection */
288 #define FSL_FEATURE_FLEXCOMM_INSTANCE_I2S_HAS_DMIC_INTERCONNECTIONn(x) (0)
289 /* @brief I2S support dual channel transfer */
290 #define FSL_FEATURE_FLEXCOMM_INSTANCE_I2S_SUPPORT_SECONDARY_CHANNELn(x) \
291     (((x) == FLEXCOMM0) ? (0) : \
292     (((x) == FLEXCOMM1) ? (0) : \
293     (((x) == FLEXCOMM2) ? (0) : \
294     (((x) == FLEXCOMM3) ? (0) : \
295     (((x) == FLEXCOMM4) ? (0) : \
296     (((x) == FLEXCOMM5) ? (0) : \
297     (((x) == FLEXCOMM6) ? (1) : \
298     (((x) == FLEXCOMM7) ? (1) : \
299     (((x) == FLEXCOMM8) ? (0) : (-1))))))))))
300 
301 /* GINT module features */
302 
303 /* @brief The count of th port which are supported in GINT. */
304 #define FSL_FEATURE_GINT_PORT_COUNT (2)
305 
306 /* HASHCRYPT module features */
307 
308 /* @brief the address of alias offset */
309 #define FSL_FEATURE_HASHCRYPT_ALIAS_OFFSET (0x00000000)
310 /* @brief hashcrypt has reload feature */
311 #define FSL_FEATURE_HASHCRYPT_HAS_RELOAD_FEATURE (1)
312 
313 /* I2S module features */
314 
315 /* @brief I2S6 and I2S7 support dual channel transfer. */
316 #define FSL_FEATURE_I2S_SUPPORT_SECONDARY_CHANNEL (1)
317 /* @brief I2S has DMIC interconnection */
318 #define FSL_FEATURE_FLEXCOMM_I2S_HAS_DMIC_INTERCONNECTION (0)
319 
320 /* IOCON module features */
321 
322 /* @brief Func bit field width */
323 #define FSL_FEATURE_IOCON_FUNC_FIELD_WIDTH (4)
324 
325 /* MRT module features */
326 
327 /* @brief number of channels. */
328 #define FSL_FEATURE_MRT_NUMBER_OF_CHANNELS  (4)
329 
330 /* PINT module features */
331 
332 /* @brief Number of connected outputs */
333 #define FSL_FEATURE_PINT_NUMBER_OF_CONNECTED_OUTPUTS (8)
334 
335 /* PLU module features */
336 
337 /* @brief Has WAKEINT_CTRL register. */
338 #define FSL_FEATURE_PLU_HAS_WAKEINT_CTRL_REG (1)
339 
340 /* PMC module features */
341 
342 /* @brief UTICK does not support PD configure. */
343 #define FSL_FEATURE_UTICK_HAS_NO_PDCFG (1)
344 /* @brief WDT OSC does not support PD configure. */
345 #define FSL_FEATURE_WWDT_HAS_NO_PDCFG (1)
346 
347 /* POWERLIB module features */
348 
349 /* @brief Powerlib API is different with other LPC series devices. */
350 #define FSL_FEATURE_POWERLIB_EXTEND (1)
351 
352 /* PUF module features */
353 
354 /* @brief Number of PUF key slots available on device. */
355 #define FSL_FEATURE_PUF_HAS_KEYSLOTS (4)
356 /* @brief the shift status value */
357 #define FSL_FEATURE_PUF_HAS_SHIFT_STATUS (1)
358 /* @brief PUF has dedicated SRAM control */
359 #define FSL_FEATURE_PUF_HAS_SRAM_CTRL (1)
360 
361 /* RTC module features */
362 
363 /* No feature definitions */
364 
365 /* SCT module features */
366 
367 /* @brief Number of events */
368 #define FSL_FEATURE_SCT_NUMBER_OF_EVENTS (16)
369 /* @brief Number of states */
370 #define FSL_FEATURE_SCT_NUMBER_OF_STATES (32)
371 /* @brief Number of match capture */
372 #define FSL_FEATURE_SCT_NUMBER_OF_MATCH_CAPTURE (16)
373 /* @brief Number of outputs */
374 #define FSL_FEATURE_SCT_NUMBER_OF_OUTPUTS (10)
375 
376 /* SECPINT module features */
377 
378 /* @brief Number of connected outputs */
379 #define FSL_FEATURE_SECPINT_NUMBER_OF_CONNECTED_OUTPUTS (2)
380 
381 /* SPI module features */
382 
383 /* @brief SSEL pin count. */
384 #define FSL_FEATURE_SPI_SSEL_COUNT (4)
385 
386 /* SYSCON module features */
387 
388 /* @brief Flash page size in bytes */
389 #define FSL_FEATURE_SYSCON_FLASH_PAGE_SIZE_BYTES (512)
390 /* @brief Flash sector size in bytes */
391 #define FSL_FEATURE_SYSCON_FLASH_SECTOR_SIZE_BYTES (32768)
392 /* @brief Flash size in bytes */
393 #define FSL_FEATURE_SYSCON_FLASH_SIZE_BYTES (251904)
394 /* @brief Has Power Down mode */
395 #define FSL_FEATURE_SYSCON_HAS_POWERDOWN_MODE (1)
396 /* @brief CCM_ANALOG availability on the SoC.  */
397 #define FSL_FEATURE_SOC_CCM_ANALOG_COUNT (1)
398 /* @brief Starter register discontinuous. */
399 #define FSL_FEATURE_SYSCON_STARTER_DISCONTINUOUS (1)
400 
401 /* SYSCTL1 module features */
402 
403 /* @brief SYSCTRL has Code Gray feature. */
404 #define FSL_FEATURE_SYSCTRL_HAS_CODE_GRAY (1)
405 
406 /* USB module features */
407 
408 /* @brief Size of the USB dedicated RAM */
409 #define FSL_FEATURE_USB_USB_RAM (0x00004000)
410 /* @brief Base address of the USB dedicated RAM */
411 #define FSL_FEATURE_USB_USB_RAM_BASE_ADDRESS (0x20010000)
412 /* @brief USB version */
413 #define FSL_FEATURE_USB_VERSION (200)
414 /* @brief Number of the endpoint in USB FS */
415 #define FSL_FEATURE_USB_EP_NUM (5)
416 
417 /* USBFSH module features */
418 
419 /* @brief Size of the USB dedicated RAM */
420 #define FSL_FEATURE_USBFSH_USB_RAM (0x00004000)
421 /* @brief Base address of the USB dedicated RAM */
422 #define FSL_FEATURE_USBFSH_USB_RAM_BASE_ADDRESS (0x20010000)
423 /* @brief USBFSH version */
424 #define FSL_FEATURE_USBFSH_VERSION (200)
425 
426 /* USBHSD module features */
427 
428 /* @brief Size of the USB dedicated RAM */
429 #define FSL_FEATURE_USBHSD_USB_RAM (0x00004000)
430 /* @brief Base address of the USB dedicated RAM */
431 #define FSL_FEATURE_USBHSD_USB_RAM_BASE_ADDRESS (0x20010000)
432 /* @brief USBHSD version */
433 #define FSL_FEATURE_USBHSD_VERSION (300)
434 /* @brief Number of the endpoint in USB HS */
435 #define FSL_FEATURE_USBHSD_EP_NUM (6)
436 
437 /* USBHSH module features */
438 
439 /* @brief Size of the USB dedicated RAM */
440 #define FSL_FEATURE_USBHSH_USB_RAM (0x00004000)
441 /* @brief Base address of the USB dedicated RAM */
442 #define FSL_FEATURE_USBHSH_USB_RAM_BASE_ADDRESS (0x20010000)
443 /* @brief USBHSH version */
444 #define FSL_FEATURE_USBHSH_VERSION (300)
445 
446 /* USBPHY module features */
447 
448 /* @brief Size of the USB dedicated RAM */
449 #define FSL_FEATURE_USBPHY_USB_RAM (0x00004000)
450 /* @brief Base address of the USB dedicated RAM */
451 #define FSL_FEATURE_USBPHY_USB_RAM_BASE_ADDRESS (0x20010000)
452 /* @brief USBHSD version */
453 #define FSL_FEATURE_USBPHY_VERSION (300)
454 /* @brief Number of the endpoint in USB HS */
455 #define FSL_FEATURE_USBPHY_EP_NUM (6)
456 
457 /* WWDT module features */
458 
459 /* @brief Has no RESET register. */
460 #define FSL_FEATURE_WWDT_HAS_NO_RESET (1)
461 /* @brief WWDT does not support oscillator lock. */
462 #define FSL_FEATURE_WWDT_HAS_NO_OSCILLATOR_LOCK (1)
463 
464 #endif /* _LPC55S16_FEATURES_H_ */
465 
466