![]() |
NEORV32 - Software Framework Documentation
|
NEORV32 Runtime Environment. More...
Functions | |
static void | __neorv32_rte_core (void) |
static void | __neorv32_rte_debug_handler (void) |
static void | __neorv32_rte_print_true_false (int state) |
static void | __neorv32_rte_print_checkbox (int state) |
static void | __neorv32_rte_print_hex_word (uint32_t num) |
static void | __neorv32_rte_print_hex_half (uint16_t num) |
void | neorv32_rte_setup (void) |
int | neorv32_rte_handler_install (uint8_t id, void(*handler)(void)) |
int | neorv32_rte_handler_uninstall (uint8_t id) |
void | neorv32_rte_print_hw_config (void) |
void | neorv32_rte_print_hw_version (void) |
void | neorv32_rte_print_credits (void) |
void | neorv32_rte_print_logo (void) |
void | neorv32_rte_print_license (void) |
uint32_t | neorv32_rte_get_compiler_isa (void) |
int | neorv32_rte_check_isa (int silent) |
Variables | |
static uint32_t | __neorv32_rte_vector_lut [NEORV32_RTE_NUM_TRAPS] |
NEORV32 Runtime Environment.
|
static |
This is the [private!] core of the NEORV32 RTE.
|
static |
NEORV32 runtime environment: Debug trap handler, printing various information via UART.
|
static |
NEORV32 runtime environment: Private function to print [x] or [ ].
[in] | state | Print '[x]' when !=0, print '[ ]' when 0 |
|
static |
NEORV32 runtime environment: Private function to print 16-bit number as 4-digit hexadecimal value (with "0x" suffix).
[in] | num | Number to print as hexadecimal. |
|
static |
NEORV32 runtime environment: Private function to print 32-bit number as 8-digit hexadecimal value (with "0x" suffix).
[in] | num | Number to print as hexadecimal. |
|
static |
NEORV32 runtime environment: Private function to print yes or no.
[in] | state | Print 'yes' when !=0, print 'no' when 0 |
int neorv32_rte_check_isa | ( | int | silent | ) |
NEORV32 runtime environment: Check required ISA extensions (via compiler flags) against available ISA extensions (via MISA csr).
[in] | silent | Show error message (via neorv32.uart) if isa_sw > isa_hw when = 0. |
uint32_t neorv32_rte_get_compiler_isa | ( | void | ) |
NEORV32 runtime environment: Get MISA CSR value according to compiler/toolchain configuration.
int neorv32_rte_handler_install | ( | uint8_t | id, |
void(*)(void) | handler | ||
) |
Install trap handler function to NEORV32 runtime environment.
[in] | id | Identifier (type) of the targeted trap. See NEORV32_RTE_TRAP_enum. |
[in] | handler | The actual handler function for the specified trap (function MUST be of type "void function(void);"). |
int neorv32_rte_handler_uninstall | ( | uint8_t | id | ) |
Uninstall trap handler function from NEORV32 runtime environment, which was previously installed via neorv32_rte_handler_install(uint8_t id, void (*handler)(void)).
[in] | id | Identifier (type) of the targeted trap. See NEORV32_RTE_TRAP_enum. |
void neorv32_rte_print_credits | ( | void | ) |
NEORV32 runtime environment: Print project credits
void neorv32_rte_print_hw_config | ( | void | ) |
NEORV32 runtime environment: Print hardware configuration information via UART
void neorv32_rte_print_hw_version | ( | void | ) |
NEORV32 runtime environment: Print the processor version in human-readable format.
void neorv32_rte_print_license | ( | void | ) |
NEORV32 runtime environment: Print project license
void neorv32_rte_print_logo | ( | void | ) |
NEORV32 runtime environment: Print project logo
void neorv32_rte_setup | ( | void | ) |
Setup NEORV32 runtime environment.
|
static |
The >private< trap vector look-up table of the NEORV32 RTE.