![]() |
NEORV32 - Software Framework Documentation
|
Simple machine timer (MTIME) usage example. More...
#include <neorv32.h>
Macros | |
User configuration | |
#define | BAUD_RATE 19200 |
Functions | |
void | mtime_irq_handler (void) |
int | main () |
Simple machine timer (MTIME) usage example.
#define BAUD_RATE 19200 |
UART BAUD rate
int main | ( | void | ) |
This program blinks an LED at GPIO.output(0) at 1Hz using the machine timer interrupt.
void mtime_irq_handler | ( | void | ) |
MTIME IRQ handler.