Files
wideband/firmware/gpio.h
Matthew Kennedy ca50ee30f0 format IO
2026-04-10 13:35:51 -07:00

18 lines
228 B
C++

#pragma once
#include "hal.h"
class Gpio
{
public:
Gpio(ioline_t line)
: m_line(line) {};
void Set() { palSetLine(m_line); }
void Clear() { palClearLine(m_line); }
private:
const ioline_t m_line;
};