wideband/firmware/gpio.h

23 lines
252 B
C
Raw Normal View History

2020-09-20 02:35:38 -07:00
#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;
};