Ehrenberg firmware headers generated with peakrdl 1.2.8

This commit is contained in:
2024-08-02 09:55:38 +02:00
parent 79a245b7f2
commit 2e98acdeb2
9 changed files with 577 additions and 502 deletions

View File

@@ -3,8 +3,8 @@
*
* SPDX-License-Identifier: Apache-2.0
*
* Generated at 2024-06-08 13:20:02 UTC
* by peakrdl_mnrs version 1.2.5
* Generated at 2024-08-02 08:46:07 UTC
* by peakrdl_mnrs version 1.2.7
*/
#ifndef _BSP_ACLINT_H
@@ -44,9 +44,15 @@ typedef struct __attribute((__packed__)) {
//ACLINT_MSIP0
inline uint32_t get_aclint_msip0(volatile aclint_t* reg){
return reg->MSIP0;
}
inline void set_aclint_msip0(volatile aclint_t* reg, uint32_t value){
reg->MSIP0 = value;
}
inline uint32_t get_aclint_msip0_msip(volatile aclint_t* reg){
return (reg->MSIP0 >> 0) & 0x1;
}
inline void set_aclint_msip0(volatile aclint_t* reg, uint8_t value){
inline void set_aclint_msip0_msip(volatile aclint_t* reg, uint8_t value){
reg->MSIP0 = (reg->MSIP0 & ~(0x1U << 0)) | (value << 0);
}