firmware/teensy_sketchbook/libraries/DmaSpi/DmaSpi.h
/** \brief Allow the DMA SPI to start handling Transfers. This must be called after begin().
     * \see running()
     * \see busy()
     * \see stop()
     * \see stopping()
     * \see stopped()
    **/
\brief Allow the DMA SPI to start handling Transfers. This must be called after begin().
\ brief Allow the DMA SPI to start handling Transfers . This must be called after begin () .
static void start()
    {
      DMASPI_PRINT(("DmaSpi::start() : state_ = "));
      switch(state_)
      {
        case eStopped:
          DMASPI_PRINT(("eStopped\n"));
          state_ = eRunning;
          beginPendingTransfer();
          break;
        case eRunning:
          DMASPI_PRINT(("eRunning\n"));
          break;
        case eStopping:
          DMASPI_PRINT(("eStopping\n"));
          state_ = eRunning;
          break;
        default:
          DMASPI_PRINT(("unknown\n"));
          state_ = eError;
          break;
      }
    }
static void start ( ) { DMASPI_PRINT ( ( " " ) ) ; switch ( state_ ) { case eStopped : DMASPI_PRINT ( ( " \n " ) ) ; state_ = eRunning ; beginPendingTransfer ( ) ; break ; case eRunning : DMASPI_PRINT ( ( " \n " ) ) ; break ; case eStopping : DMASPI_PRINT ( ( " \n " ) ) ; state_ = eRunning ; break ; default : DMASPI_PRINT ( ( " \n " ) ) ; state_ = eError ; break ; } }
\brief Allow the DMA SPI to start handling Transfers.
\ brief Allow the DMA SPI to start handling Transfers .