|
|
|
@ -12,6 +12,10 @@
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*-----------------------------------------------------------------*/
|
|
|
|
|
/* System Management */
|
|
|
|
|
#define SW_RST_VAL (0x87651234)
|
|
|
|
@ -303,8 +307,6 @@ static volatile struct TMR_struct * const TMR3 = (void *) (TMR3_BASE);
|
|
|
|
|
/* Interrupts */
|
|
|
|
|
#define INTBASE (0x80020000)
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
/* Structure-based ITC access */
|
|
|
|
|
#define __INTERRUPT_union(x) \
|
|
|
|
|
union { \
|
|
|
|
@ -442,4 +444,8 @@ extern void adc_isr(void) __attribute__((weak));
|
|
|
|
|
|
|
|
|
|
extern void spi_isr(void) __attribute__((weak));
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* MC1322X_H */
|
|
|
|
|