tutrc_harurobo_lib
|
#include <gpio.hpp>
公開メンバ関数 | |
bool | init (GPIO_TypeDef *port, uint16_t pin) |
void | write (bool state) |
bool | read () |
void | toggle () |
void | set_exti_callback (std::function< void()> &&callback) |
bool tutrc_harurobo_lib::GPIO::init | ( | GPIO_TypeDef * | port, |
uint16_t | pin ) |
bool tutrc_harurobo_lib::GPIO::read | ( | ) |
void tutrc_harurobo_lib::GPIO::set_exti_callback | ( | std::function< void()> && | callback | ) |
void tutrc_harurobo_lib::GPIO::toggle | ( | ) |
void tutrc_harurobo_lib::GPIO::write | ( | bool | state | ) |