cpu.h File Reference

Basic definitions for the RISC-V common module. More...

Detailed Description

Basic definitions for the RISC-V common module.

When ever you want to do something hardware related, that is accessing MCUs registers, just include this file. It will then make sure that the MCU specific headers are included.

Author
Ken Rabold

Definition in file cpu.h.

Go to the source code of this file.

Functions

void cpu_init (void)
 Initialization of the CPU.
 
static void cpu_print_last_instruction (void)
 Print the last instruction's address. More...
 
void nanostubs_init (void)
 Initialization of the Newlib-nano stub.