/* Check the status of the DWD or DWWD violation happened.  */
dwdViolation_t dwdGetViolationStatus(void)
/* Check the status of the DWD or DWWD violation happened.  */
dwdViolation_t dwdGetViolationStatus(void)
{
	dwdViolation_t Violation_Status;
	if ((rtiREG1->WDSTATUS & 0x20U) == 0x20U)
	{
		Violation_Status = Time_Window_Violation;
	}
	else if ((rtiREG1->WDSTATUS & 0x04U) == 0x04U)
	{
		Violation_Status = Key_Seq_Violation;
	}	else if((rtiREG1->WDSTATUS & 0x8U) == 0x8U)
	{
		Violation_Status = StartTime_Window_Violation;
	}
	else if ((rtiREG1->WDSTATUS & 0x10U) == 0x10U)
	{
		Violation_Status = EndTime_Window_Violation;
	}
	else
	{
		Violation_Status = NoTime_Violation;
	}
	return Violation_Status;
}