You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#pragma once
|
|
|
|
#include "GPIO_Info.h"
|
|
#include "PWM_TimerInfo.h"
|
|
|
|
struct PinInfo
|
|
{
|
|
inline PinInfo(unsigned _pin)
|
|
: pin(_pin),
|
|
gpioInfo(pin),
|
|
pwmTimerInfo(pin)
|
|
{}
|
|
|
|
const unsigned pin;
|
|
const GPIO_Info_t gpioInfo;
|
|
const PWM_TimerInfo_t pwmTimerInfo;
|
|
};
|
|
|