Searched defs:a (Results 1 – 2 of 2) sorted by relevance
/hal_microchip-3.6.0-3.5.0-3.4.0/mec/common/ |
D | regaccess.h | 32 #define MMCR32(a) *((volatile uint32_t *)(uintptr_t)(a)) argument 33 #define MMCR16(a) *((volatile uint16_t *)(uintptr_t)(a)) argument 34 #define MMCR8(a) *((volatile uint8_t *)(uintptr_t)(a)) argument 36 #define MMCR_RD32(a, v) v = *((volatile uint32_t *)(uintptr_t)(a)) argument 37 #define MMCR_RD16(a, v) v = *((volatile uint16_t *)(uintptr_t)(a)) argument 38 #define MMCR_RD8(a, v) v = *((volatile uint8_t *)(uintptr_t)(a)) argument 40 #define MMCR_WR32(a, d) *((volatile uint32_t *)(uintptr_t)(a)) = (uint32_t)(d) argument 41 #define MMCR_WR16(a, h) *((volatile uint16_t *)(uintptr_t)(a)) = (uint16_t)(h) argument 42 #define MMCR_WR8(a, b) *((volatile uint8_t *)(uintptr_t)(a)) = (uint8_t)(b) argument 44 #define REG32(a) *((volatile uint32_t *)(uintptr_t)(a)) argument [all …]
|
/hal_microchip-3.6.0-3.5.0-3.4.0/mpfs/mpfs_hal/common/ |
D | bits.h | 41 #define ROUNDUP(a, b) ((((a)-1)/(b)+1)*(b)) argument 42 #define ROUNDDOWN(a, b) ((a)/(b)*(b)) argument 44 #define MAX(a, b) ((a) > (b) ? (a) : (b)) argument 45 #define MIN(a, b) ((a) < (b) ? (a) : (b)) argument 46 #define CLAMP(a, lo, hi) MIN(MAX(a, lo), hi) argument
|