halx
読み取り中…
検索中…
一致する文字列を見つけられません
halx::peripheral::TimBase クラスabstract

#include <tim.hpp>

公開メンバ関数

virtual ~TimBase ()
 
virtual bool start ()=0
 
virtual bool stop ()=0
 
virtual uint32_t get_counter () const =0
 
virtual void set_counter (uint32_t count)=0
 
virtual bool attach_callback (void(*callback)(void *context), void *context)=0
 
virtual bool detach_callback ()=0
 
bool attach_callback (std::function< void()> &&callback)
 

構築子と解体子

◆ ~TimBase()

virtual halx::peripheral::TimBase::~TimBase ( )
inlinevirtual

関数詳解

◆ attach_callback() [1/2]

bool halx::peripheral::TimBase::attach_callback ( std::function< void()> && callback)
inline

◆ attach_callback() [2/2]

virtual bool halx::peripheral::TimBase::attach_callback ( void(* callback )(void *context),
void * context )
pure virtual

◆ detach_callback()

virtual bool halx::peripheral::TimBase::detach_callback ( )
pure virtual

◆ get_counter()

virtual uint32_t halx::peripheral::TimBase::get_counter ( ) const
pure virtual

◆ set_counter()

virtual void halx::peripheral::TimBase::set_counter ( uint32_t count)
pure virtual

◆ start()

virtual bool halx::peripheral::TimBase::start ( )
pure virtual

◆ stop()

virtual bool halx::peripheral::TimBase::stop ( )
pure virtual

このクラス詳解は次のファイルから抽出されました: