NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
|
Simple core local interruptor (CLINT) usage example. More...
#include <neorv32.h>
Macros | |
#define | BAUD_RATE 19200 |
Functions | |
void | mti_irq_handler (void) |
void | msi_irq_handler (void) |
int | main () |
Variables | |
const char | weekdays [7][4] = {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"} |
Simple core local interruptor (CLINT) usage example.
int main | ( | void | ) |
This program toggles an LED at GPIO.output(0) at 1Hz and also prints and updates the Unix time in human-readable format using the machine timer interrupt.
void msi_irq_handler | ( | void | ) |
Machine software IRQ handler.
void mti_irq_handler | ( | void | ) |
Machine timer IRQ handler.