WPILibC++ 2025.0.0-alpha-1-9-ga2beb75
SPITypes.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include <stdint.h>
8
9#include "hal/Types.h"
10
11/**
12 * @defgroup hal_spi SPI Functions
13 * @ingroup hal_capi
14 * @{
15 */
16
24};
25
31};
32
33#ifdef __cplusplus
34namespace hal {
35
36/**
37 * A move-only C++ wrapper around HAL_SPIPort.
38 * Does not ensure destruction.
39 */
41
42} // namespace hal
43#endif
44/** @} */
@ HAL_ENUM
Definition: Value.h:14
A move-only C++ wrapper around a HAL handle.
Definition: Types.h:96
HAL_SPIMode
Definition: SPITypes.h:26
HAL_SPIPort
Definition: SPITypes.h:17
@ HAL_SPI_kMode0
Definition: SPITypes.h:27
@ HAL_SPI_kMode1
Definition: SPITypes.h:28
@ HAL_SPI_kMode2
Definition: SPITypes.h:29
@ HAL_SPI_kMode3
Definition: SPITypes.h:30
@ HAL_SPI_kMXP
Definition: SPITypes.h:23
@ HAL_SPI_kOnboardCS0
Definition: SPITypes.h:19
@ HAL_SPI_kInvalid
Definition: SPITypes.h:18
@ HAL_SPI_kOnboardCS2
Definition: SPITypes.h:21
@ HAL_SPI_kOnboardCS1
Definition: SPITypes.h:20
@ HAL_SPI_kOnboardCS3
Definition: SPITypes.h:22
WPILib Hardware Abstraction Layer (HAL) namespace.
Definition: InterruptManager.h:13