firmware/teensy_sketchbook/libraries/DmaSpi/DmaSpi.h
/** \brief Request the DMA SPI to stop handling Transfers.
     *
     * The stopping driver may finish a current Transfer, but it will then not start a new, pending one.
     * \see start()
     * \see running()
     * \see busy()
     * \see stopping()
     * \see stopped()
    **/
\brief Request the DMA SPI to stop handling Transfers.
The stopping driver may finish a current Transfer, but it will then not start a new, pending one.
\ brief Request the DMA SPI to stop handling Transfers . The stopping driver may finish a current Transfer but it will then not start a new pending one .
static void stop()
    {
      ATOMIC_BLOCK(ATOMIC_RESTORESTATE)
      {
        switch(state_)
        {
          case eStopped:
            break;
          case eRunning:
            if (busy())
            {
              state_ = eStopping;
            }
            else
            {
              state_ = eStopped;
            }
            break;
          case eStopping:
            break;
          default:
            state_ = eError;
            break;
        }
      }
    }
static void stop ( ) { ATOMIC_BLOCK ( ATOMIC_RESTORESTATE ) { switch ( state_ ) { case eStopped : break ; case eRunning : if ( busy ( ) ) { state_ = eStopping ; } else { state_ = eStopped ; } break ; case eStopping : break ; default : state_ = eError ; break ; } } }
\brief Request the DMA SPI to stop handling Transfers.
\ brief Request the DMA SPI to stop handling Transfers .
// this means that the DMA SPI simply has nothing to do