libyggdrasil  v1.0.0
bsp::drv::DAConverter< Context, DACChannelImpl > Struct Template Reference

Base class for DAC abstraction. More...

#include <dac.hpp>

Public Member Functions

 DAConverter ()=delete
 
 DAConverter (const DAConverter &)=delete
 
 DAConverter (DAConverter &&)=delete
 

Static Public Attributes

template<u8 Index, u32 Offset = 0, u32 MaxValue = (1 << 12) - 1>
static auto Channel = DACChannelImpl<Context, Index, Offset, MaxValue>()
 Channel implementation. More...
 

Detailed Description

template<auto Context, template< auto, u8, u32, u32 > typename DACChannelImpl>
struct bsp::drv::DAConverter< Context, DACChannelImpl >

Base class for DAC abstraction.

Template Parameters
ContextDAC context
DACChannelImplDACChannel implementation

Constructor & Destructor Documentation

◆ DAConverter() [1/3]

template<auto Context, template< auto, u8, u32, u32 > typename DACChannelImpl>
bsp::drv::DAConverter< Context, DACChannelImpl >::DAConverter ( )
delete

◆ DAConverter() [2/3]

template<auto Context, template< auto, u8, u32, u32 > typename DACChannelImpl>
bsp::drv::DAConverter< Context, DACChannelImpl >::DAConverter ( const DAConverter< Context, DACChannelImpl > &  )
delete

◆ DAConverter() [3/3]

template<auto Context, template< auto, u8, u32, u32 > typename DACChannelImpl>
bsp::drv::DAConverter< Context, DACChannelImpl >::DAConverter ( DAConverter< Context, DACChannelImpl > &&  )
delete

Member Data Documentation

◆ Channel

template<auto Context, template< auto, u8, u32, u32 > typename DACChannelImpl>
template<u8 Index, u32 Offset = 0, u32 MaxValue = (1 << 12) - 1>
auto bsp::drv::DAConverter< Context, DACChannelImpl >::Channel = DACChannelImpl<Context, Index, Offset, MaxValue>()
inlinestatic

Channel implementation.

Template Parameters
IndexChannelID
OffsetCalibration offset
MaxValueMaximum value used

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