Home
last modified time | relevance | path

Searched refs:reg (Results 1 – 1 of 1) sorted by relevance

/hal_ambiq-3.5.0/mcu/apollo4p/regs/
Dam_reg_macros.h73 #define AM_REGADDR(periph, reg) ( periph##_BASE + offsetof(periph##_Type, reg) ) argument
75 #define AM_REGADDRn(periph, n, reg) ( periph##0_BASE + \ argument
76 offsetof(periph##0_Type, reg) + \
85 #define AM_BFW(module, reg, field, value) \ argument
86 (module->reg = ((module->reg & ~(module##_##reg##_##field##_Msk)) | \
87 _VAL2FLD(module##_##reg##_##field, value)))
89 #define AM_BFR(module, reg, field) \ argument
90 _FLD2VAL(module##_##reg##_##field, module->reg)
92 #define AM_BFRn(module, instance, reg, field) \ argument
93 (_FLD2VAL(module##0_##reg##_##field, \
[all …]