WPILibC++ 2025.0.0-alpha-1-9-ga2beb75
I2CTypes.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_i2c I2C Functions
13 * @ingroup hal_capi
14 * @{
15 */
16
21};
22
23#ifdef __cplusplus
24namespace hal {
25
26/**
27 * A move-only C++ wrapper around HAL_I2CPort.
28 * Does not ensure destruction.
29 */
31
32} // namespace hal
33#endif
34/** @} */
@ HAL_ENUM
Definition: Value.h:14
A move-only C++ wrapper around a HAL handle.
Definition: Types.h:96
HAL_I2CPort
Definition: I2CTypes.h:17
@ HAL_I2C_kMXP
Definition: I2CTypes.h:20
@ HAL_I2C_kInvalid
Definition: I2CTypes.h:18
@ HAL_I2C_kOnboard
Definition: I2CTypes.h:19
WPILib Hardware Abstraction Layer (HAL) namespace.
Definition: InterruptManager.h:13