ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
Loading...
Searching...
No Matches
gpio.hpp File Reference

Abstract interface for general-purpose pin I/O and PWM. More...

#include <cstdint>
#include <string>

Go to the source code of this file.

Classes

struct  foresthub::platform::PwmConfig
 Configuration for a PWM output channel. More...
class  foresthub::platform::GpioInterface
 Abstract interface for general-purpose pin I/O. More...

Namespaces

namespace  foresthub
 Top-level namespace for the ForestHub SDK.
namespace  foresthub::platform
 Hardware abstraction layer: network, console, time, crypto, and GPIO interfaces.

Typedefs

using foresthub::platform::PinId = uint32_t
 32-bit pin identifier.

Enumerations

enum class  foresthub::platform::PinMode : uint8_t { foresthub::platform::kInput = 0 , foresthub::platform::kOutput = 1 , foresthub::platform::kInputPullup = 2 }
 Direction and pull configuration of a pin. More...

Detailed Description

Abstract interface for general-purpose pin I/O and PWM.