File startup_ch32v307.c¶
FileList > ch32v307 > startup_ch32v307.c
Go to the source code of this file
Bare-metal startup code and vector table for WCH CH32V307VCT6 (QingKe V4F RISC-V).
#include <stdint.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint32_t | _ebss End address of uninitialized data section in RAM. |
| uint32_t | _edata End address of initialized data section in RAM. |
| uint32_t | _estack Initial top of stack address in RAM. |
| uint32_t | _sbss Start address of uninitialized data section in RAM. |
| uint32_t | _sdata Start address of initialized data section in RAM. |
| uint32_t | _sidata Start address of initialized data section in Flash. |
Public Functions¶
| Type | Name |
|---|---|
| SYN_ISR_ATTR void | Default_Handler (void) Default unhandled exception/interrupt catch handler. |
| SYN_ISR_ATTR void | NMI_Handler (void) Non-Maskable Interrupt (NMI) handler. |
| void | Reset_Handler (void) MCU Reset handler — initializes memory sections and jumps to main() . |
| int | main (void) Main application entry point function declaration. |
Macros¶
| Type | Name |
|---|---|
| define | SYN_ISR_ATTR |
Public Attributes Documentation¶
variable _ebss¶
End address of uninitialized data section in RAM.
variable _edata¶
End address of initialized data section in RAM.
variable _estack¶
Initial top of stack address in RAM.
variable _sbss¶
Start address of uninitialized data section in RAM.
variable _sdata¶
Start address of initialized data section in RAM.
variable _sidata¶
Start address of initialized data section in Flash.
Public Functions Documentation¶
function Default_Handler¶
Default unhandled exception/interrupt catch handler.
function NMI_Handler¶
Non-Maskable Interrupt (NMI) handler.
function Reset_Handler¶
MCU Reset handler — initializes memory sections and jumps to main() .
function main¶
Main application entry point function declaration.
Returns:
Exit status code.
Macro Definition Documentation¶
define SYN_ISR_ATTR¶
The documentation for this class was generated from the following file src/port/ch32v307/startup_ch32v307.c