Tool/software: Code Composer Studio
Hi All,
I did not understand form the driverlib file few function and declaration.
static inline SPI_RxFIFOLevel
SPI_getRxFIFOStatus(uint32_t base)
{
//
// Check the arguments.
//
ASSERT(SPI_isBaseValid(base));
//
// Get the current FIFO status
//
return((SPI_RxFIFOLevel)((HWREGH(base + SPI_O_FFRX) & SPI_FFRX_RXFFST_M) >>SPI_FFRX_RXFFST_S));
}
Can anyone share the details about bold mark register and bits.
"SPI_O_FFRX) & SPI_FFRX_RXFFST_M) >>SPI_FFRX_RXFFST_S));"
If I want to make the same function using device_support library then which bits I should check here to make similar function.