I have recently started working with TMS320C6748, and I am troubled by this statement in the routine about SPI. I cannot understand the role of HWREG and what the overall meaning of this function is. I hope you can answer for me.
-
void SPIReset(unsigned int baseAdd)
-
{
-
HWREG(baseAdd + SPI_SPIGCR0) = ~(SPI_SPIGCR0_RESET);
-
}