firmware/teensy_sketchbook/libraries/DmaSpi/DmaSpi.h
/** \brief Shut down the DMA SPI
     *
     * Deallocates DMA channels and sets the internal state to error (this might not be an intelligent name for that)
     * \see begin()
    **/
\brief Shut down the DMA SPI
Deallocates DMA channels and sets the internal state to error (this might not be an intelligent name for that)
\see begin()
\ brief Shut down the DMA SPI Deallocates DMA channels and sets the internal state to error ( this might not be an intelligent name for that ) \ see begin ()
static void end()
    {
      if (init_count_ == 0)
      {
        state_ = eError;
        return;
      }
      if (init_count_ == 1)
      {
        init_count_--;
        destroyDmaChannels();
        state_ = eError;
        return;
      }
      else
      {
        init_count_--;
        return;
      }
    }
static void end ( ) { if ( init_count_ == 0 ) { state_ = eError ; return ; } if ( init_count_ == 1 ) { init_count_ -- ; destroyDmaChannels ( ) ; state_ = eError ; return ; } else { init_count_ -- ; return ; } }
\brief Shut down the DMA SPI
 Deallocates DMA channels and sets the internal state to error (this might not be an intelligent name for that)
 \see begin()
\ brief Shut down the DMA SPI Deallocates DMA channels and sets the internal state to error ( this might not be an intelligent name for that ) \ see begin ()