Infrared4Arduino 1.2.3
|
#include <ATmega32U4.h>
Public Member Functions | |
ATmega32U4 () | |
Public Member Functions inherited from Board | |
virtual void | writeLow () |
virtual void | writeHigh () |
virtual void | writeLow (pin_t pin) |
virtual void | writeHigh (pin_t pin) |
void | setPinMode (pin_t pin, PinMode mode) |
bool | readDigital (pin_t pin) |
virtual pin_t | getPwmPin () const |
virtual void | checkValidSendPin (pin_t pin __attribute__((unused))) |
virtual void | enableSampler (pin_t pin __attribute__((unused))) |
Start the periodic ISR sampler routine. More... | |
virtual void | disableSampler () |
Turn off sampler routine. More... | |
void | enablePwm (pin_t pin, frequency_t frequency, dutycycle_t dutyCycle) |
Start PWM, making output active. More... | |
void | disablePwm () |
Turn off PWM. More... | |
void | sendPwmMark (microseconds_t time) |
virtual void | timerReset () |
TODO. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Board | |
static void | delayMicroseconds (microseconds_t) |
Version of delayMicroseconds able to grok more than 16383 micros. More... | |
static Board * | getInstance () |
static constexpr pin_t | defaultPwmPin () |
static constexpr bool | hasHardwarePwm () |
static void | debugPinHigh () |
static void | debugPinLow () |
static void | setupDebugPin () |
Static Public Attributes inherited from Board | |
static const unsigned long | microsPerTick = 50UL |
static constexpr pin_t | NO_PIN = 255U |
Constant indicating no or invalid pin. More... | |
static constexpr dutycycle_t | defaultDutyCycle = 40 |
Default duty cycle to use. More... | |
Protected Member Functions inherited from Board | |
Board () | |
virtual void | timerEnableIntr ()=0 |
Start periodic sampling routine. More... | |
virtual void | timerDisableIntr ()=0 |
Turn off periodic interrupts. More... | |
virtual void | timerConfigHz (frequency_t hz, dutycycle_t dutyCycle=defaultDutyCycle)=0 |
Configure hardware PWM, but do not enable it. More... | |
virtual void | timerConfigNormal ()=0 |
Disables the PWM configuration. More... | |
virtual void | timerEnablePwm ()=0 |
Start PWM output. More... | |
virtual void | timerDisablePwm ()=0 |
Turn off PWM output. More... | |
Definition at line 35 of file ATmega32U4.h.
|
inline |
Definition at line 37 of file ATmega32U4.h.