WPILibC++ 2024.3.2
SPITypes.h File Reference
#include <stdint.h>
#include "hal/Types.h"

Go to the source code of this file.

Namespaces

namespace  hal
 WPILib Hardware Abstraction Layer (HAL) namespace.
 

Typedefs

using hal::SPIPort = Handle< HAL_SPIPort, HAL_SPI_kInvalid >
 A move-only C++ wrapper around HAL_SPIPort. More...
 

Enumerations

enum  HAL_SPIPort : int32_t {
  HAL_SPI_kInvalid = -1 , HAL_SPI_kOnboardCS0 , HAL_SPI_kOnboardCS1 , HAL_SPI_kOnboardCS2 ,
  HAL_SPI_kOnboardCS3 , HAL_SPI_kMXP
}
 
enum  HAL_SPIMode : int32_t { HAL_SPI_kMode0 = 0 , HAL_SPI_kMode1 = 1 , HAL_SPI_kMode2 = 2 , HAL_SPI_kMode3 = 3 }