001/* Copyright (C) Cross The Road Electronics 2024 */
002package com.ctre.phoenix;
003
004/**
005 * Faults available to CANifier (Currently has none)
006 */
007public class CANifierFaults {
008        /**
009         * @return true if any faults are tripped
010         */
011        public boolean hasAnyFault() {
012                return false;
013        }
014        /**
015         * @return Current fault list as a bit field
016         */
017        public int toBitfield() {
018                int retval = 0;
019                return retval;
020        }
021        /**
022         * Updates current fault list with specified bit field of faults
023         * 
024         * @param bits bit field of faults to update with
025         */
026        public void update(int bits) {
027        }
028        public CANifierFaults() {
029        }
030};