Lely core libraries  2.3.4
err.hpp File Reference
#include <lely/io2/can/err.h>
Include dependency graph for err.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  lely::io::CanState : int {
  lely::io::CanState::ACTIVE = CAN_STATE_ACTIVE, lely::io::CanState::PASSIVE = CAN_STATE_PASSIVE, lely::io::CanState::BUSOFF = CAN_STATE_BUSOFF, lely::io::CanState::SLEEPING = CAN_STATE_SLEEPING,
  lely::io::CanState::STOPPED = CAN_STATE_STOPPED
}
 The states of a CAN node, depending on the TX/RX error count.
 
enum  lely::io::CanError : int {
  lely::io::CanError::BIT = CAN_ERROR_BIT, lely::io::CanError::STUFF = CAN_ERROR_STUFF, lely::io::CanError::CRC = CAN_ERROR_CRC, lely::io::CanError::FORM = CAN_ERROR_FORM,
  lely::io::CanError::ACK = CAN_ERROR_ACK, lely::io::CanError::OTHER = CAN_ERROR_OTHER
}
 The error flags of a CAN bus, which are not mutually exclusive.
 

Detailed Description

This header file is part of the I/O library; it contains the C++ CAN bus error definitions.

See also
lely/io2/can/err.h
Author
J. S. Seldenthuis jseld.nosp@m.enth.nosp@m.uis@l.nosp@m.ely..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file err.hpp.