/* Clears the designated bits in a 32-bit data word at a local CPU system address */
void IPCRtoLClearBits(tIpcMessage *psMessage)
/* Clears the designated bits in a 32-bit data word at a local CPU system address */
void IPCRtoLClearBits(tIpcMessage *psMessage)
{
    uint16_t usLength;
    usLength = (uint16_t)psMessage->uldataw1;
    if (usLength == IPC_LENGTH_16_BITS)
    {
        *(volatile uint16_t*)psMessage->uladdress &=
            ~((uint16_t) psMessage->uldataw2);
    }
    else if (usLength == IPC_LENGTH_32_BITS)
    {
        *(volatile unsigned long *)psMessage->uladdress &=
            ~(psMessage->uldataw2);
    }
}