updates Ehrenberg register description

This commit is contained in:
2024-05-30 18:32:23 +02:00
parent 442384574b
commit 05062c5be4
22 changed files with 1460 additions and 903 deletions

View File

@@ -1,10 +1,9 @@
#ifndef _BSP_ACLINT_H
#define _BSP_ACLINT_H
#ifndef _DEVICES_ACLINT_H
#define _DEVICES_ACLINT_H
#include <stdint.h>
#include "gen/AClintModule.h"
#include "gen/aclint.h"
#define aclint_t apb3aclint_t
static void set_aclint_mtime(volatile aclint_t* reg, uint64_t value){
set_aclint_mtime_hi(reg, (uint32_t)(value >> 32));
@@ -26,4 +25,4 @@ static uint64_t get_aclint_mtimecmp(volatile aclint_t* reg){
return value;
}
#endif /* _BSP_ACLINT_H */
#endif /* _DEVICES_ACLINT_H */