My Project
Loading...
Searching...
No Matches
MCChannelController Class Reference

#include <MCChannelController.h>

Inheritance diagram for MCChannelController:

Public Member Functions

 MCChannelController (MCChannelConfig *config)
 
HubLedColor GetHubLedColor ()
 
void SetHubLedColor (HubLedColor color)
 
DeviceType GetAttachedDevice ()
 
MCChannelGetChannel ()
 
void SetMinPwrPerc (int16_t minPwrPerc)
 
int16_t GetTargetPwrPerc ()
 
void SetTargetPwrPerc (int16_t targetPwrPerc)
 
int16_t GetCurrentPwrPerc ()
 
void SetCurrentPwrPerc (int16_t currentPwrPerc)
 
bool UpdateCurrentPwrPerc ()
 
uint8_t GetAbsCurrentPwrPerc ()
 
bool IsDrivingForward ()
 
void Blink ()
 
void ManualBrake (bool enabled)
 
void EmergencyBrake (bool enabled)
 

Friends

class BLEHubChannelController
 
class MCPinController
 

Constructor & Destructor Documentation

◆ MCChannelController()

MCChannelController::MCChannelController ( MCChannelConfig * config)

Member Function Documentation

◆ Blink()

void MCChannelController::Blink ( )

◆ EmergencyBrake()

void MCChannelController::EmergencyBrake ( bool enabled)

◆ GetAbsCurrentPwrPerc()

uint8_t MCChannelController::GetAbsCurrentPwrPerc ( )

◆ GetAttachedDevice()

DeviceType MCChannelController::GetAttachedDevice ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetChannel()

MCChannel * MCChannelController::GetChannel ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCurrentPwrPerc()

int16_t MCChannelController::GetCurrentPwrPerc ( )
Here is the call graph for this function:

◆ GetHubLedColor()

HubLedColor MCChannelController::GetHubLedColor ( )

◆ GetTargetPwrPerc()

int16_t MCChannelController::GetTargetPwrPerc ( )

◆ IsDrivingForward()

bool MCChannelController::IsDrivingForward ( )

◆ ManualBrake()

void MCChannelController::ManualBrake ( bool enabled)

◆ SetCurrentPwrPerc()

void MCChannelController::SetCurrentPwrPerc ( int16_t currentPwrPerc)

◆ SetHubLedColor()

void MCChannelController::SetHubLedColor ( HubLedColor color)

◆ SetMinPwrPerc()

void MCChannelController::SetMinPwrPerc ( int16_t minPwrPerc)

◆ SetTargetPwrPerc()

void MCChannelController::SetTargetPwrPerc ( int16_t targetPwrPerc)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateCurrentPwrPerc()

bool MCChannelController::UpdateCurrentPwrPerc ( )
Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ BLEHubChannelController

friend class BLEHubChannelController
friend

◆ MCPinController

friend class MCPinController
friend

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