How to read status register for Filter Ch A and ChB? | Cypress Semiconductor
How to read status register for Filter Ch A and ChB?
Hello Every one,
I want to send data from Filter Ch A and B to VDAC using interrupt.
My code is presented below
// Convert the 2's complement value to an unsigned 8-bit value.
//The VDAC expects an unsigned 8-bit value as input.
VDAC_ChA_SetValue(Filter_Read8(Filter_CHANNEL_A) + 128u);
VDAC_ChB_SetValue(Filter_Read8(Filter_CHANNEL_B) + 128u);
/* Start all components used on schematic */
// Excitation Sheet
// Amplification Sheet
// Reference_Voltage Sheet
/* User-implemented function to set-up DMA */
/* Enable Global Interrupts */
} /* End of main */
My Question is How i can put filter status register for channel A and B that i can read and decide which interrupt has fired or rather which channel is ready to read data off.