OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [example/] [demo_wdt/] [main.c] - Diff between revs 14 and 42

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 14 Rev 42
Line 74... Line 74...
  // capture all exceptions and give debug info via UART
  // capture all exceptions and give debug info via UART
  // this is not required, but keeps us safe
  // this is not required, but keeps us safe
  neorv32_rte_setup();
  neorv32_rte_setup();
 
 
 
 
  // init UART at default baud rate, no rx interrupt, no tx interrupt
  // init UART at default baud rate, no parity bits, no rx interrupt, no tx interrupt
  neorv32_uart_setup(BAUD_RATE, 0, 0);
  neorv32_uart_setup(BAUD_RATE, 0b00, 0, 0);
 
 
  // simple text output via UART (strings only)
  // simple text output via UART (strings only)
  neorv32_uart_print("\nWatchdog system reset demo program\n\n");
  neorv32_uart_print("\nWatchdog system reset demo program\n\n");
 
 
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.