pic32/libraries/DSPI/DSPI.cpp
/* Undo the last setSpeed() call to restore the previous baud rate */
Undo the last setSpeed() call to restore the previous baud rate
Undo the last setSpeed () call to restore the previous baud rate
void DSPI::unsetSpeed() { 
	pspi->sxCon.clr = (1 << _SPICON_ON);	
	pspi->sxBrg.reg = storedBrg;
	pspi->sxCon.set = (1 << _SPICON_ON);	
}
void DSPI :: unsetSpeed ( ) { pspi -> sxCon . clr = ( 1 << _SPICON_ON ) ; pspi -> sxBrg . reg = storedBrg ; pspi -> sxCon . set = ( 1 << _SPICON_ON ) ; }
Undo the last setSpeed() call to restore the previous baud rate
Undo the last setSpeed () call to restore the previous baud rate
// disable SPI // enable SPI