File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
hal/targets/cmsis/TARGET_Freescale/TARGET_K64F Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 32
32
33
33
extern void InstallIRQHandler (IRQn_Type irq , uint32_t irqHandler );
34
34
35
- void NVIC_SetVector (IRQn_Type IRQn , uint32_t vector ) {
35
+ void __NVIC_SetVector (IRQn_Type IRQn , uint32_t vector ) {
36
36
InstallIRQHandler (IRQn , vector );
37
37
}
38
38
39
- uint32_t NVIC_GetVector (IRQn_Type IRQn ) {
39
+ uint32_t __NVIC_GetVector (IRQn_Type IRQn ) {
40
40
uint32_t * vectors = (uint32_t * )SCB -> VTOR ;
41
41
return vectors [IRQn + 16 ];
42
42
}
Original file line number Diff line number Diff line change 41
41
extern "C" {
42
42
#endif
43
43
44
- void NVIC_SetVector (IRQn_Type IRQn , uint32_t vector );
45
- uint32_t NVIC_GetVector (IRQn_Type IRQn );
44
+ void __NVIC_SetVector (IRQn_Type IRQn , uint32_t vector );
45
+ uint32_t __NVIC_GetVector (IRQn_Type IRQn );
46
46
47
47
#ifdef __cplusplus
48
48
}
You can’t perform that action at this time.
0 commit comments