ASCII Serial Com
Serial communication library between computers, microcontrollers, FPGAs, etc. Uses only ASCII. Not the most efficient protocol, but meant to be easy to read
|
Simple blinking LED demo program using the lowest 8 bits of the GPIO.output port. More...
#include <neorv32.h>
#include <stdbool.h>
Go to the source code of this file.
Macros | |
#define | UART1_TX_BUFFER_FULL ((NEORV32_UART1.CTRL & (1 << UART_CTRL_TX_FULL)) != 0) |
User configuration | |
#define | BAUD_RATE 19200 |
Functions | |
int | main () |
Variables | |
char | tmpChar |
char | loopbackChar |
bool | charReceived = false |
int | rx_status |
Simple blinking LED demo program using the lowest 8 bits of the GPIO.output port.
blink_led/main.c
Definition in file neorv32_char_loopback.c.
#define BAUD_RATE 19200 |
#define UART1_TX_BUFFER_FULL ((NEORV32_UART1.CTRL & (1 << UART_CTRL_TX_FULL)) != 0) |
Definition at line 70 of file neorv32_char_loopback.c.
int main | ( | void | ) |
Main function; shows an incrementing 8-bit counter on GPIO.output(7:0).
Definition at line 109 of file neorv32_char_loopback.c.
References BAUD_RATE.
bool charReceived = false |
Definition at line 75 of file neorv32_char_loopback.c.
char loopbackChar |
Definition at line 74 of file neorv32_char_loopback.c.
int rx_status |
Definition at line 76 of file neorv32_char_loopback.c.
char tmpChar |
Definition at line 73 of file neorv32_char_loopback.c.