Use new PART_<device> defines for tm4c129x registry and isr.
This commit is contained in:
parent
3e069788d9
commit
9b670d684f
|
@ -35,9 +35,9 @@
|
|||
*/
|
||||
|
||||
/* GPIO units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1292NCPDT) || defined(TM4C1294KCPDT)\
|
||||
|| defined(TM4C1294NCPDT) || defined(TM4C129CNCPDT) || defined(TM4C129DNCPDT)\
|
||||
|| defined(TM4C129EKCPDT) || defined(TM4C129ENCPDT)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1292NCPDT) || defined(PART_TM4C1294KCPDT)\
|
||||
|| defined(PART_TM4C1294NCPDT) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129DNCPDT)\
|
||||
|| defined(PART_TM4C129EKCPDT) || defined(PART_TM4C129ENCPDT)
|
||||
#define TIVA_GPIOA_HANDLER Vector40
|
||||
#define TIVA_GPIOB_HANDLER Vector44
|
||||
#define TIVA_GPIOC_HANDLER Vector48
|
||||
|
@ -98,10 +98,10 @@
|
|||
#define TIVA_GPIOQ6_NUMBER 90
|
||||
#define TIVA_GPIOQ7_NUMBER 91
|
||||
#endif
|
||||
#if defined(TM4C1290NCZAD) || defined(TM4C1292NCZAD) || defined(TM4C1294NCZAD)\
|
||||
|| defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD) || defined(TM4C1299NCZAD)\
|
||||
|| defined(TM4C129CNCZAD) || defined(TM4C129DNCZAD) || defined(TM4C129ENCZAD)\
|
||||
|| defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294NCZAD)\
|
||||
|| defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD) || defined(PART_TM4C1299NCZAD)\
|
||||
|| defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129ENCZAD)\
|
||||
|| defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_GPIOA_HANDLER Vector40
|
||||
#define TIVA_GPIOB_HANDLER Vector44
|
||||
#define TIVA_GPIOC_HANDLER Vector48
|
||||
|
@ -170,85 +170,85 @@
|
|||
#endif
|
||||
|
||||
/* EPI units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_EPI0_HANDLER Vector108
|
||||
|
||||
#define TIVA_EPI0_NUMBER 50
|
||||
#endif
|
||||
|
||||
/* CRC units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
/* CRC has no interrupts.*/
|
||||
#endif
|
||||
|
||||
/* AES Accelerator units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD)
|
||||
/* no interrupts.*/
|
||||
#endif
|
||||
#if defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD) || defined(TM4C129DNCPDT) \
|
||||
|| defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT) || defined(TM4C129ENCPDT)\
|
||||
|| defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD)\
|
||||
|| defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCPDT) \
|
||||
|| defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT) || defined(PART_TM4C129ENCPDT)\
|
||||
|| defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD)\
|
||||
|| defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_AES_HANDLER Vector1BC
|
||||
|
||||
#define TIVA_AES_NUMBER 95
|
||||
#endif
|
||||
|
||||
/* DES Accelerator units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD)
|
||||
/* no interrupts.*/
|
||||
#endif
|
||||
#if defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD) || defined(TM4C129DNCPDT)\
|
||||
|| defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT) || defined(TM4C129ENCPDT)\
|
||||
|| defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD)\
|
||||
|| defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCPDT)\
|
||||
|| defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT) || defined(PART_TM4C129ENCPDT)\
|
||||
|| defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD)\
|
||||
|| defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_DES_HANDLER Vector1C0
|
||||
|
||||
#define TIVA_DES_NUMBER 51
|
||||
#endif
|
||||
|
||||
/* SHA/MD5 Accelerator units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD)
|
||||
/* no interrupts.*/
|
||||
#endif
|
||||
#if defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD) || defined(TM4C129DNCPDT)\
|
||||
|| defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT) || defined(TM4C129ENCPDT)\
|
||||
|| defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD)\
|
||||
|| defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCPDT)\
|
||||
|| defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT) || defined(PART_TM4C129ENCPDT)\
|
||||
|| defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD)\
|
||||
|| defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_SHA_MD5_HANDLER Vector1B8
|
||||
|
||||
#define TIVA_SHA_MD5_NUMBER 94
|
||||
#endif
|
||||
|
||||
/* GPT units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_GPT0A_HANDLER Vector8C
|
||||
#define TIVA_GPT0B_HANDLER Vector90
|
||||
#define TIVA_GPT1A_HANDLER Vector94
|
||||
|
@ -285,26 +285,26 @@
|
|||
#endif
|
||||
|
||||
/* WDT units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_WDT_HANDLER Vector88
|
||||
|
||||
#define TIVA_WDT_NUMBER 18
|
||||
#endif
|
||||
|
||||
/* ADC units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_ADC0_SEQ0_HANDLER Vector78
|
||||
#define TIVA_ADC0_SEQ1_HANDLER Vector7C
|
||||
#define TIVA_ADC0_SEQ2_HANDLER Vector80
|
||||
|
@ -325,13 +325,13 @@
|
|||
#endif
|
||||
|
||||
/* UART units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_UART0_HANDLER Vector54
|
||||
#define TIVA_UART1_HANDLER Vector58
|
||||
#define TIVA_UART2_HANDLER VectorC4
|
||||
|
@ -352,13 +352,13 @@
|
|||
#endif
|
||||
|
||||
/* QSSI units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_QSSI0_HANDLER Vector5C
|
||||
#define TIVA_QSSI1_HANDLER VectorC8
|
||||
#define TIVA_QSSI2_HANDLER Vector118
|
||||
|
@ -371,13 +371,13 @@
|
|||
#endif
|
||||
|
||||
/* I2C units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_I2C0_HANDLER Vector60
|
||||
#define TIVA_I2C1_HANDLER VectorD4
|
||||
#define TIVA_I2C2_HANDLER Vector134
|
||||
|
@ -402,28 +402,28 @@
|
|||
#endif
|
||||
|
||||
/* 1-Wire Master units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)
|
||||
#define TIVA_HAS_1WIRE FALSE
|
||||
#endif
|
||||
#if defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_1WIRE_HANDLER Vector1E4
|
||||
|
||||
#define TIVA_1WIRE_NUMBER 105
|
||||
#endif
|
||||
|
||||
/* CAN units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_CAN0_HANDLER VectorD8
|
||||
#define TIVA_CAN1_HANDLER VectorDC
|
||||
|
||||
|
@ -432,69 +432,69 @@
|
|||
#endif
|
||||
|
||||
/* Ethernet MAC units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1297NCZAD)\
|
||||
|| defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1297NCZAD)\
|
||||
|| defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)
|
||||
/* no interrupts.*/
|
||||
#endif
|
||||
#if defined(TM4C1292NCPDT) || defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT)\
|
||||
|| defined(TM4C1294NCPDT) || defined(TM4C1294NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD)\
|
||||
|| defined(TM4C129EKCPDT) || defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD)\
|
||||
|| defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1292NCPDT) || defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT)\
|
||||
|| defined(PART_TM4C1294NCPDT) || defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD)\
|
||||
|| defined(PART_TM4C129EKCPDT) || defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD)\
|
||||
|| defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_MAC_HANDLER VectorE0
|
||||
|
||||
#define TIVA_MAC_NUMBER 40
|
||||
#endif
|
||||
|
||||
/* Ethernet PHY units.*/
|
||||
#if defined(TM4C1290NCPDT)|| defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT) \
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C129CNCPDT)\
|
||||
|| defined(TM4C129CNCZAD) || defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT)|| defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT) \
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C129CNCPDT)\
|
||||
|| defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD)
|
||||
/* no interrupts.*/
|
||||
#endif
|
||||
#if defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT) || defined(TM4C1294NCZAD)\
|
||||
|| defined(TM4C1299KCZAD) || defined(TM4C1299NCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT) || defined(PART_TM4C1294NCZAD)\
|
||||
|| defined(PART_TM4C1299KCZAD) || defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
/* no interrupts.*/
|
||||
#endif
|
||||
|
||||
/* USB units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_USB0_HANDLER VectorE8
|
||||
|
||||
#define TIVA_USB0_NUMBER 42
|
||||
#endif
|
||||
|
||||
/* LCD units.*/
|
||||
#if defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD) || defined(TM4C129DNCZAD)\
|
||||
|| defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD) || defined(PART_TM4C129DNCZAD)\
|
||||
|| defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_LCD_HANDLER Vector1C4
|
||||
|
||||
#define TIVA_LCD_NUMBER 97
|
||||
#endif
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT)\
|
||||
|| defined(TM4C129CNCZAD) || defined(TM4C129DNCPDT) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT)\
|
||||
|| defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD)
|
||||
/* no interrupts.*/
|
||||
#endif
|
||||
|
||||
/* AC units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_AC0_HANDLER VectorA4
|
||||
#define TIVA_AC1_HANDLER VectorA8
|
||||
#define TIVA_AC2_HANDLER VectorAC
|
||||
|
@ -505,13 +505,13 @@
|
|||
#endif
|
||||
|
||||
/* PWM units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_PWM0FAULT_HANDLER Vector64
|
||||
#define TIVA_PWM0GEN0_HANDLER Vector68
|
||||
#define TIVA_PWM0GEN1_HANDLER Vector6C
|
||||
|
@ -526,13 +526,13 @@
|
|||
#endif
|
||||
|
||||
/* QEI units.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_QEI0_HANLDER Vector74
|
||||
|
||||
#define TIVA_QEI0_NUMBER 13
|
||||
|
|
|
@ -35,9 +35,9 @@
|
|||
*/
|
||||
|
||||
/* GPIO attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1292NCPDT) || defined(TM4C1294KCPDT)\
|
||||
|| defined(TM4C1294NCPDT) || defined(TM4C129CNCPDT) || defined(TM4C129DNCPDT)\
|
||||
|| defined(TM4C129EKCPDT) || defined(TM4C129ENCPDT)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1292NCPDT) || defined(PART_TM4C1294KCPDT)\
|
||||
|| defined(PART_TM4C1294NCPDT) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129DNCPDT)\
|
||||
|| defined(PART_TM4C129EKCPDT) || defined(PART_TM4C129ENCPDT)
|
||||
#define TIVA_HAS_GPIOA TRUE
|
||||
#define TIVA_HAS_GPIOB TRUE
|
||||
#define TIVA_HAS_GPIOC TRUE
|
||||
|
@ -57,10 +57,10 @@
|
|||
#define TIVA_HAS_GPIOS FALSE
|
||||
#define TIVA_HAS_GPIOT FALSE
|
||||
#endif
|
||||
#if defined(TM4C1290NCZAD) || defined(TM4C1292NCZAD) || defined(TM4C1294NCZAD)\
|
||||
|| defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD) || defined(TM4C1299NCZAD)\
|
||||
|| defined(TM4C129CNCZAD) || defined(TM4C129DNCZAD) || defined(TM4C129ENCZAD)\
|
||||
|| defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294NCZAD)\
|
||||
|| defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD) || defined(PART_TM4C1299NCZAD)\
|
||||
|| defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129ENCZAD)\
|
||||
|| defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_GPIOA TRUE
|
||||
#define TIVA_HAS_GPIOB TRUE
|
||||
#define TIVA_HAS_GPIOC TRUE
|
||||
|
@ -82,77 +82,77 @@
|
|||
#endif
|
||||
|
||||
/* EPI attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_EPI0 TRUE
|
||||
#endif
|
||||
|
||||
/* CRC attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_CRC0 TRUE
|
||||
#endif
|
||||
|
||||
/* AES Accelerator attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD)
|
||||
#define TIVA_HAS_AES FALSE
|
||||
#endif
|
||||
#if defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD) || defined(TM4C129DNCPDT) \
|
||||
|| defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT) || defined(TM4C129ENCPDT)\
|
||||
|| defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD)\
|
||||
|| defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCPDT) \
|
||||
|| defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT) || defined(PART_TM4C129ENCPDT)\
|
||||
|| defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD)\
|
||||
|| defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_AES TRUE
|
||||
#endif
|
||||
|
||||
/* DES Accelerator attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD)
|
||||
#define TIVA_HAS_DES FALSE
|
||||
#endif
|
||||
#if defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD) || defined(TM4C129DNCPDT)\
|
||||
|| defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT) || defined(TM4C129ENCPDT)\
|
||||
|| defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD)\
|
||||
|| defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCPDT)\
|
||||
|| defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT) || defined(PART_TM4C129ENCPDT)\
|
||||
|| defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD)\
|
||||
|| defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_DES TRUE
|
||||
#endif
|
||||
|
||||
/* SHA/MD5 Accelerator attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD)
|
||||
#define TIVA_HAS_SHA_MD5 FALSE
|
||||
#endif
|
||||
#if defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD) || defined(TM4C129DNCPDT)\
|
||||
|| defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT) || defined(TM4C129ENCPDT)\
|
||||
|| defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD)\
|
||||
|| defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCPDT)\
|
||||
|| defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT) || defined(PART_TM4C129ENCPDT)\
|
||||
|| defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD)\
|
||||
|| defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_SHA_MD5 TRUE
|
||||
#endif
|
||||
|
||||
/* GPT attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_GPT0 TRUE
|
||||
#define TIVA_HAS_GPT1 TRUE
|
||||
#define TIVA_HAS_GPT2 TRUE
|
||||
|
@ -170,37 +170,37 @@
|
|||
#endif
|
||||
|
||||
/* WDT attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_WDT0 TRUE
|
||||
#define TIVA_HAS_WDT1 TRUE
|
||||
#endif
|
||||
|
||||
/* ADC attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_ADC0 TRUE
|
||||
#define TIVA_HAS_ADC1 TRUE
|
||||
#endif
|
||||
|
||||
/* UART attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_UART0 TRUE
|
||||
#define TIVA_HAS_UART1 TRUE
|
||||
#define TIVA_HAS_UART2 TRUE
|
||||
|
@ -212,13 +212,13 @@
|
|||
#endif
|
||||
|
||||
/* QSSI attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_QSSI0 TRUE
|
||||
#define TIVA_HAS_QSSI1 TRUE
|
||||
#define TIVA_HAS_QSSI2 TRUE
|
||||
|
@ -226,13 +226,13 @@
|
|||
#endif
|
||||
|
||||
/* I2C attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_I2C0 TRUE
|
||||
#define TIVA_HAS_I2C1 TRUE
|
||||
#define TIVA_HAS_I2C2 TRUE
|
||||
|
@ -246,113 +246,113 @@
|
|||
#endif
|
||||
|
||||
/* 1-Wire Master attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)
|
||||
#define TIVA_HAS_1WIRE FALSE
|
||||
#endif
|
||||
#if defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_1WIRE TRUE
|
||||
#endif
|
||||
|
||||
/* CAN attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_CAN0 TRUE
|
||||
#define TIVA_HAS_CAN1 TRUE
|
||||
#endif
|
||||
|
||||
/* Ethernet MAC attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1297NCZAD)\
|
||||
|| defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1297NCZAD)\
|
||||
|| defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)
|
||||
#define TIVA_HAS_ETHERNET_MAC FALSE
|
||||
#endif
|
||||
#if defined(TM4C1292NCPDT) || defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT)\
|
||||
|| defined(TM4C1294NCPDT) || defined(TM4C1294NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD)\
|
||||
|| defined(TM4C129EKCPDT) || defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD)\
|
||||
|| defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1292NCPDT) || defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT)\
|
||||
|| defined(PART_TM4C1294NCPDT) || defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD)\
|
||||
|| defined(PART_TM4C129EKCPDT) || defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD)\
|
||||
|| defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_ETHERNET_MAC TRUE
|
||||
#endif
|
||||
|
||||
/* Ethernet PHY attributes.*/
|
||||
#if defined(TM4C1290NCPDT)|| defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT) \
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C129CNCPDT)\
|
||||
|| defined(TM4C129CNCZAD) || defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT)|| defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT) \
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C129CNCPDT)\
|
||||
|| defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD)
|
||||
#define TIVA_HAS_ETHERNET_PHY FALSE
|
||||
#endif
|
||||
#if defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT) || defined(TM4C1294NCZAD)\
|
||||
|| defined(TM4C1299KCZAD) || defined(TM4C1299NCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT) || defined(PART_TM4C1294NCZAD)\
|
||||
|| defined(PART_TM4C1299KCZAD) || defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_ETHERNET_PHY TRUE
|
||||
#endif
|
||||
|
||||
/* USB attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_USB0 TRUE
|
||||
#endif
|
||||
|
||||
/* LCD attributes.*/
|
||||
#if defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD) || defined(TM4C129DNCZAD)\
|
||||
|| defined(TM4C129LNCZAD) || defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD) || defined(PART_TM4C129DNCZAD)\
|
||||
|| defined(PART_TM4C129LNCZAD) || defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_LCD TRUE
|
||||
#endif
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT)\
|
||||
|| defined(TM4C129CNCZAD) || defined(TM4C129DNCPDT) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT)\
|
||||
|| defined(PART_TM4C129CNCZAD) || defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD)
|
||||
#define TIVA_HAS_LCD FALSE
|
||||
#endif
|
||||
|
||||
/* AC attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_AC0 TRUE
|
||||
#define TIVA_HAS_AC1 TRUE
|
||||
#define TIVA_HAS_AC2 TRUE
|
||||
#endif
|
||||
|
||||
/* PWM attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_PWM0 TRUE
|
||||
#define TIVA_HAS_PWM1 FALSE
|
||||
#endif
|
||||
|
||||
/* QEI attributes.*/
|
||||
#if defined(TM4C1290NCPDT) || defined(TM4C1290NCZAD) || defined(TM4C1292NCPDT)\
|
||||
|| defined(TM4C1292NCZAD) || defined(TM4C1294KCPDT) || defined(TM4C1294NCPDT)\
|
||||
|| defined(TM4C1294NCZAD) || defined(TM4C1297NCZAD) || defined(TM4C1299KCZAD)\
|
||||
|| defined(TM4C1299NCZAD) || defined(TM4C129CNCPDT) || defined(TM4C129CNCZAD)\
|
||||
|| defined(TM4C129DNCPDT) || defined(TM4C129DNCZAD) || defined(TM4C129EKCPDT)\
|
||||
|| defined(TM4C129ENCPDT) || defined(TM4C129ENCZAD) || defined(TM4C129LNCZAD)\
|
||||
|| defined(TM4C129XKCZAD) || defined(TM4C129XNCZAD)
|
||||
#if defined(PART_TM4C1290NCPDT) || defined(PART_TM4C1290NCZAD) || defined(PART_TM4C1292NCPDT)\
|
||||
|| defined(PART_TM4C1292NCZAD) || defined(PART_TM4C1294KCPDT) || defined(PART_TM4C1294NCPDT)\
|
||||
|| defined(PART_TM4C1294NCZAD) || defined(PART_TM4C1297NCZAD) || defined(PART_TM4C1299KCZAD)\
|
||||
|| defined(PART_TM4C1299NCZAD) || defined(PART_TM4C129CNCPDT) || defined(PART_TM4C129CNCZAD)\
|
||||
|| defined(PART_TM4C129DNCPDT) || defined(PART_TM4C129DNCZAD) || defined(PART_TM4C129EKCPDT)\
|
||||
|| defined(PART_TM4C129ENCPDT) || defined(PART_TM4C129ENCZAD) || defined(PART_TM4C129LNCZAD)\
|
||||
|| defined(PART_TM4C129XKCZAD) || defined(PART_TM4C129XNCZAD)
|
||||
#define TIVA_HAS_QEI0 TRUE
|
||||
#define TIVA_HAS_QEI1 FALSE
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue