Part Number: TMS570LS1227
Other Parts Discussed in Thread: HALCOGEN,
Hi,
I have used HALCoGen tool to generate ADC driver code for TMS570LS1227.
For our requirement, we need to have a timeout for while loops.
Please could you suggest how to find out the approximate execution time for the following:
1)
/** - Wait for buffer initialization complete */
/*SAFETYMCUSW 28 D MR:NA <APPROVED> "Hardware status bit read check" */
while (((adcREG1->BNDEND & 0xFFFF0000U) >> 16U ) != 0U)
{
} /* Wait */
2)
/* ... wait and read the conversion count */
while((adcIsConversionComplete(adcREG1,adcGROUP1))==0);
Thanks and regards.