URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 51 |
Rev 60 |
Line 67... |
Line 67... |
/**********************************************************************//**
|
/**********************************************************************//**
|
* Main function; shows an incrementing 8-bit counter on GPIO.output(7:0).
|
* Main function; shows an incrementing 8-bit counter on GPIO.output(7:0).
|
*
|
*
|
* @note This program requires the GPIO controller to be synthesized (the UART is optional).
|
* @note This program requires the GPIO controller to be synthesized (the UART is optional).
|
*
|
*
|
* @return Irrelevant.
|
* @return 0 if execution was successful
|
**************************************************************************/
|
**************************************************************************/
|
int main() {
|
int main() {
|
|
|
// init UART (primary UART = UART0; if no id number is specified the primary UART is used) at default baud rate, no parity bits, ho hw flow control
|
// init UART (primary UART = UART0; if no id number is specified the primary UART is used) at default baud rate, no parity bits, ho hw flow control
|
neorv32_uart_setup(BAUD_RATE, PARITY_NONE, FLOW_CONTROL_NONE);
|
neorv32_uart_setup(BAUD_RATE, PARITY_NONE, FLOW_CONTROL_NONE);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.