diff options
author | Friedrich Beckmann <friedrich.beckmann@hs-augsburg.de> | 2022-07-25 17:55:39 +0200 |
---|---|---|
committer | Friedrich Beckmann <friedrich.beckmann@hs-augsburg.de> | 2022-07-25 17:55:39 +0200 |
commit | 3fff6023602822531efdae30bc8ebf862967f1ef (patch) | |
tree | 16028102b8d850f8ab3115d28a8539ca6bc5f51d /VexRiscvSocSoftware/projects/murax/libs/murax.h |
Initial Commit
Diffstat (limited to 'VexRiscvSocSoftware/projects/murax/libs/murax.h')
-rw-r--r-- | VexRiscvSocSoftware/projects/murax/libs/murax.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/VexRiscvSocSoftware/projects/murax/libs/murax.h b/VexRiscvSocSoftware/projects/murax/libs/murax.h new file mode 100644 index 0000000..7a91cfc --- /dev/null +++ b/VexRiscvSocSoftware/projects/murax/libs/murax.h @@ -0,0 +1,28 @@ +/* + * briey.h + * + * Created on: Aug 24, 2016 + * Author: clp + */ + +#ifndef BRIEY_H_ +#define BRIEY_H_ + +#include "timer.h" +#include "prescaler.h" +#include "interrupt.h" +#include "gpio.h" +#include "uart.h" + +#define CORE_HZ 12000000 + +#define GPIO_A ((Gpio_Reg*)(0xF0000000)) +#define TIMER_PRESCALER ((Prescaler_Reg*)0xF0020000) +#define TIMER_INTERRUPT ((InterruptCtrl_Reg*)0xF0020010) +#define TIMER_A ((Timer_Reg*)0xF0020040) +#define TIMER_B ((Timer_Reg*)0xF0020050) +#define UART ((Uart_Reg*)(0xF0010000)) +#define UART_SAMPLE_PER_BAUD 5 + + +#endif /* BRIEY_H_ */ |