uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
init.c
Go to the documentation of this file.
1 #include "LPC17xx.h"
2 #include "system_LPC17xx.h"
3 #include "lpc17xx_adc.h"
4 #include "lpc17xx_can.h"
5 #include "lpc17xx_emac.h"
6 #include "lpc17xx_exti.h"
7 #include "lpc17xx_i2c.h"
8 #include "lpc17xx_i2s.h"
9 #include "lpc17xx_nvic.h"
10 #include "lpc17xx_pwm.h"
11 #include "lpc17xx_qei.h"
12 #include "lpc17xx_rit.h"
13 #include "lpc17xx_rtc.h"
14 #include "lpc17xx_spi.h"
15 #include "lpc17xx_ssp.h"
16 #include "lpc17xx_timer.h"
17 #include "lpc17xx_uart.h"
18 
20 //** ADC_DeInit(LPC_ADC);
23  EMAC_DeInit();
24  EXTI_DeInit();
29  NVIC_DeInit();
33 //** RIT_DeInit(LPC_RIT);
40 //** UART_DeInit(LPC_UART2);
41 //** UART_DeInit(LPC_UART3);
44 //** TIM_DeInit(LPC_TIM2);
45 //** TIM_DeInit(LPC_TIM3);
46 }
47 
50  SystemInit();
51 }
52 
53 extern uintptr_t __cs3_interrupt_vector_mutable[];
54 
55 void cpu_init() {
57 }
58 
59 void cpu_late_init() {
60 }
61 
62 __attribute__((section(".crp"),weak)) uint32_t crp = 0xffffffff;
63 __attribute__((section(".som"))) uint32_t __som = 0xffffffff;