/* Changing the baud clock source changes the data rate generated by the SSI. Therefore, the data rate should be reconfigured after any change to the SSI clock source. */
void SSIClockSourceSet(unsigned long ulBase, unsigned long ulSource)
/* Changing the baud clock source changes the data rate generated by the SSI. Therefore, the data rate should be reconfigured after any change to the SSI clock source. */
void SSIClockSourceSet(unsigned long ulBase, unsigned long ulSource)
{
    ASSERT(SSIBaseValid(ulBase));
    ASSERT((ulSource == SSI_CLOCK_SYSTEM) || (ulSource == SSI_CLOCK_PIOSC));
    HWREG(ulBase + SSI_O_CC) = ulSource;
}