diff --git a/cdc_XR21B1411.h b/cdc_XR21B1411.h index 347f0df6..c3262754 100644 --- a/cdc_XR21B1411.h +++ b/cdc_XR21B1411.h @@ -55,12 +55,12 @@ e-mail : support@circuitsathome.com #define XR_REG_ERROR_STATUS (0x0C09U) // ERROR STATUS REGISTER #define XR_REG_ERROR_STATUS_MASK (0x00F8U) // ERROR STATUS BITMASK -#define XR_REG_ERROR_STATUS_ERROR (0x0070U) // ERROR STATUS ERROR BITMASK -#define XR_REG_ERROR_STATUS_BREAK (0x0008U) // BREAK HAS BEEN DETECTED -#define XR_REG_ERROR_STATUS_OVERRUN (0x0010U) // RX OVERRUN ERROR -#define XR_REG_ERROR_STATUS_PARITY (0x0020U) // PARITY ERROR -#define XR_REG_ERROR_STATUS_FRAME (0x0040U) // FRAMING ERROR -#define XR_REG_ERROR_STATUS_BREAK (0x0080U) // BREAK IS BEING DETECTED +#define XR_REG_ERROR_STATUS_ERROR (0x0078U) // ERROR STATUS ERROR BITMASK +#define XR_REG_ERROR_STATUS_BREAK (0x0008U) // BREAK ERROR HAS BEEN DETECTED +#define XR_REG_ERROR_STATUS_FRAME (0x0010U) // FRAMING ERROR HAS BEEN DETECTED +#define XR_REG_ERROR_STATUS_PARITY (0x0020U) // PARITY ERROR HAS BEEN DETECTED +#define XR_REG_ERROR_STATUS_OVERRUN (0x0040U) // RX OVERRUN ERROR HAS BEEN DETECTED +#define XR_REG_ERROR_STATUS_BREAK_STATUS (0x0080U) // BREAK CONDITION IS CURRENTLY BEING DETECTED #define XR_REG_TX_BREAK (0x0C0AU) // TRANSMIT BREAK. 0X0001-0XFFE TIME IN MS, 0X0000 STOP, 0X0FFF BREAK ON