Namespaces |
namespace | bosch_drivers_common |
Enumerations |
enum | bosch_drivers_common::encoder_control { bosch_drivers_common::CREATE,
bosch_drivers_common::DESTROY,
bosch_drivers_common::SET_POSITION
} |
| encoder Constants More...
|
enum | bosch_drivers_common::gpio_input_mode { bosch_drivers_common::FLOATING,
bosch_drivers_common::PULLUP,
bosch_drivers_common::PULLDOWN
} |
| GPIO Constants. More...
|
enum | bosch_drivers_common::Hardware_Interface { bosch_drivers_common::Sub20,
bosch_drivers_common::Arduino,
bosch_drivers_common::ArduinoROSSerial,
bosch_drivers_common::Gumstix
} |
| the name of the compatible hardware devices that the sensors can implement as a generic hardware interface. More...
|
enum | bosch_drivers_common::interface_protocol {
bosch_drivers_common::I2C,
bosch_drivers_common::SPI,
bosch_drivers_common::GPIO,
bosch_drivers_common::RS232,
bosch_drivers_common::RS485,
bosch_drivers_common::ETHERNET,
bosch_drivers_common::ETHERCAT,
bosch_drivers_common::CAN,
bosch_drivers_common::JTAG,
bosch_drivers_common::PROFIBUS,
bosch_drivers_common::MODBUS,
bosch_drivers_common::USB,
bosch_drivers_common::PWM,
bosch_drivers_common::ENCODER,
bosch_drivers_common::ADCONVERTER
} |
| the name of the protocol that both the hardware interface and the sensor are using to transmit data. More...
|
enum | bosch_drivers_common::motor_drive_mode { bosch_drivers_common::DRIVE,
bosch_drivers_common::FREE_RUNNING,
bosch_drivers_common::BRAKE
} |
| Motor Constants. More...
|
Variables |
static const uint8_t | bosch_drivers_common::LSB_FIRST = 0 |
static const uint8_t | bosch_drivers_common::MSB_FIRST = 1 |
static const uint8_t | bosch_drivers_common::NULL_DEVICE = 0xFF |
static const uint8_t | bosch_drivers_common::SPI_CLOCK_DIV_128 = 0x03 |
static const uint8_t | bosch_drivers_common::SPI_CLOCK_DIV_16 = 0x01 |
static const uint8_t | bosch_drivers_common::SPI_CLOCK_DIV_2 = 0x04 |
static const uint8_t | bosch_drivers_common::SPI_CLOCK_DIV_32 = 0x06 |
static const uint8_t | bosch_drivers_common::SPI_CLOCK_DIV_4 = 0x00 |
static const uint8_t | bosch_drivers_common::SPI_CLOCK_DIV_64 = 0x02 |
static const uint8_t | bosch_drivers_common::SPI_CLOCK_DIV_8 = 0x05 |
static const uint8_t | bosch_drivers_common::SPI_MODE_0 = 0x00 |
| SPI Constants.
|
static const uint8_t | bosch_drivers_common::SPI_MODE_1 = 0x01 |
static const uint8_t | bosch_drivers_common::SPI_MODE_2 = 0x02 |
static const uint8_t | bosch_drivers_common::SPI_MODE_3 = 0x03 |
static const uint8_t | bosch_drivers_common::SPI_READ_FLAG = 7 |
| The following members are the relevant bitflag offsets necessary for prompting the sensor for an SPI read or write.
|
static const uint8_t | bosch_drivers_common::SPI_WRITE_FLAG = 7 |