ArmSys Support
ArmsysApi  0.12.18

#include <BPwm.h>

Public Member Functions

 BPwm ()
 
BError init (BUInt8 dev, BUInt32 freq)
 
BError initChannel (BUInt8 chan)
 
BError set (BUInt8 chan, BUInt16 duty)
 

Protected Attributes

BTim otim
 
BUInt32 operiod
 

Constructor & Destructor Documentation

◆ BPwm()

BPwm::BPwm ( )

Member Function Documentation

◆ init()

BError BPwm::init ( BUInt8  dev,
BUInt32  freq 
)

◆ initChannel()

BError BPwm::initChannel ( BUInt8  chan)

◆ set()

BError BPwm::set ( BUInt8  chan,
BUInt16  duty 
)

Member Data Documentation

◆ operiod

BUInt32 BPwm::operiod
protected

◆ otim

BTim BPwm::otim
protected

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