Infrared4Arduino 1.2.3
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ATmega32U4 Class Reference

#include <ATmega32U4.h>

Inheritance diagram for ATmega32U4:
Inheritance graph
[legend]
Collaboration diagram for ATmega32U4:
Collaboration graph
[legend]

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 BoardgetInstance ()
 
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...
 

Detailed Description

Definition at line 35 of file ATmega32U4.h.

Constructor & Destructor Documentation

◆ ATmega32U4()

ATmega32U4::ATmega32U4 ( )
inline

Definition at line 37 of file ATmega32U4.h.


The documentation for this class was generated from the following file: