WPILibC++ 2024.3.2
frc::PowerDistribution::Faults Struct Reference

#include <frc/PowerDistribution.h>

Public Member Functions

bool GetBreakerFault (int channel) const
 Gets whether there is a breaker fault at a specified channel. More...
 

Public Attributes

uint32_t Channel0BreakerFault: 1
 
uint32_t Channel1BreakerFault: 1
 
uint32_t Channel2BreakerFault: 1
 
uint32_t Channel3BreakerFault: 1
 
uint32_t Channel4BreakerFault: 1
 
uint32_t Channel5BreakerFault: 1
 
uint32_t Channel6BreakerFault: 1
 
uint32_t Channel7BreakerFault: 1
 
uint32_t Channel8BreakerFault: 1
 
uint32_t Channel9BreakerFault: 1
 
uint32_t Channel10BreakerFault: 1
 
uint32_t Channel11BreakerFault: 1
 
uint32_t Channel12BreakerFault: 1
 
uint32_t Channel13BreakerFault: 1
 
uint32_t Channel14BreakerFault: 1
 
uint32_t Channel15BreakerFault: 1
 
uint32_t Channel16BreakerFault: 1
 
uint32_t Channel17BreakerFault: 1
 
uint32_t Channel18BreakerFault: 1
 
uint32_t Channel19BreakerFault: 1
 
uint32_t Channel20BreakerFault: 1
 
uint32_t Channel21BreakerFault: 1
 
uint32_t Channel22BreakerFault: 1
 
uint32_t Channel23BreakerFault: 1
 
uint32_t Brownout: 1
 
uint32_t CanWarning: 1
 
uint32_t HardwareFault: 1
 

Member Function Documentation

◆ GetBreakerFault()

bool frc::PowerDistribution::Faults::GetBreakerFault ( int  channel) const

Gets whether there is a breaker fault at a specified channel.

Parameters
channelChannel to check for faults.
Returns
If there is a breaker fault.
Exceptions
AChannelIndexOutOfRange error if the given int is outside of the range supported by the hardware.

Member Data Documentation

◆ Brownout

uint32_t frc::PowerDistribution::Faults::Brownout

◆ CanWarning

uint32_t frc::PowerDistribution::Faults::CanWarning

◆ Channel0BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel0BreakerFault

◆ Channel10BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel10BreakerFault

◆ Channel11BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel11BreakerFault

◆ Channel12BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel12BreakerFault

◆ Channel13BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel13BreakerFault

◆ Channel14BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel14BreakerFault

◆ Channel15BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel15BreakerFault

◆ Channel16BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel16BreakerFault

◆ Channel17BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel17BreakerFault

◆ Channel18BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel18BreakerFault

◆ Channel19BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel19BreakerFault

◆ Channel1BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel1BreakerFault

◆ Channel20BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel20BreakerFault

◆ Channel21BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel21BreakerFault

◆ Channel22BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel22BreakerFault

◆ Channel23BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel23BreakerFault

◆ Channel2BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel2BreakerFault

◆ Channel3BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel3BreakerFault

◆ Channel4BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel4BreakerFault

◆ Channel5BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel5BreakerFault

◆ Channel6BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel6BreakerFault

◆ Channel7BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel7BreakerFault

◆ Channel8BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel8BreakerFault

◆ Channel9BreakerFault

uint32_t frc::PowerDistribution::Faults::Channel9BreakerFault

◆ HardwareFault

uint32_t frc::PowerDistribution::Faults::HardwareFault

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