NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
|
Demo program for the NEORV32 1-Wire interface controller (ONEWIRE). More...
Macros | |
User configuration | |
#define | BAUD_RATE 19200 |
Functions | |
void | show_help (void) |
void | show_1wire_commands (void) |
void | read_byte (void) |
void | write_byte (void) |
void | scan_bus (void) |
int | main () |
Variables | |
const char | hex_c [16] = {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'} |
Demo program for the NEORV32 1-Wire interface controller (ONEWIRE).
#define BAUD_RATE 19200 |
UART BAUD rate
int main | ( | void | ) |
Main function
void read_byte | ( | void | ) |
Read full byte from bus.
void scan_bus | ( | void | ) |
Scan bus for devices and print IDs.
void show_1wire_commands | ( | void | ) |
Show standard 1-wire commands.
void show_help | ( | void | ) |
Show help menu.
void write_byte | ( | void | ) |
Write full byte to bus.