36#ifndef LIBBSP_ARM_SHARED_ARM_PL050_REGS_H
37#define LIBBSP_ARM_SHARED_ARM_PL050_REGS_H
43#define PL050_KMICR_KMITYPE BSP_BIT32(5)
44#define PL050_KMICR_KMIRXINTREN BSP_BIT32(4)
45#define PL050_KMICR_KMITXINTREN BSP_BIT32(3)
46#define PL050_KMICR_KMIEN BSP_BIT32(2)
47#define PL050_KMICR_FKMID BSP_BIT32(1)
48#define PL050_KMICR_FKMIC BSP_BIT32(0)
50#define PL050_KMISTAT_TXEMPTY BSP_BIT32(6)
51#define PL050_KMISTAT_TXBUSY BSP_BIT32(5)
52#define PL050_KMISTAT_RXFULL BSP_BIT32(4)
53#define PL050_KMISTAT_RXBUSY BSP_BIT32(3)
54#define PL050_KMISTAT_RXPARITY BSP_BIT32(2)
55#define PL050_KMISTAT_KMIC BSP_BIT32(1)
56#define PL050_KMISTAT_KMID BSP_BIT32(0)
58#define PL050_KMIDATA_KMIDATA(val) BSP_FLD32(val, 0, 7)
59#define PL050_KMIDATA_KMIDATA_GET(reg) BSP_FLD32GET(reg, 0, 7)
60#define PL050_KMIDATA_KMIDATA_SET(reg, val) BSP_FLD32SET(reg, val, 0, 7)
62#define PL050_KMICLKDIV_KMICLKDIV(val) BSP_FLD32(val, 0, 3)
63#define PL050_KMICLKDIV_KMICLKDIV_GET(reg) BSP_FLD32GET(reg, 0, 3)
64#define PL050_KMICLKDIV_KMICLKDIV_SET(reg, val) BSP_FLD32SET(reg, val, 0, 3)
66#define PL050_KMIIR_KMITXINTR BSP_BIT32(1)
67#define PL050_KMIIR_KMIRXINTR BSP_BIT32(0)
This header file provides utility macros for BSPs.
Definition: arm-pl050-regs.h:41