Where is global interrupt enable during STM32G4 intialization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-10 05:25 PM
is global interrupt is always enable during startup, is that right ?, if yes, where can i find it?
In
HAL_Init();
or
startup_stm32g474retx.s
Solved! Go to Solution.
- Labels:
-
Interrupt
-
STM32G4 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-10 05:35 PM
The processor starts with interrupts enabled. You get to enable specific peripherals ones via the NVIC
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-10 05:35 PM
The processor starts with interrupts enabled. You get to enable specific peripherals ones via the NVIC
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-10 06:29 PM
Thank you! Can you point to me, Where does the processor implement enable global interrupts? which file and which line:smiling_face_with_smiling_eyes:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-10 06:56 PM
What part of "starts with them enabled" is unclear here? There isn't a file/line involved.
The SCB->VTOR is reset to zero, and this means the memory mapped there (FLASH, SRAM, ROM) is controlled by BOOT pins
Up vote any posts that you find helpful, it shows what's working..