#include <pic_servo_msg_builder.H>
Public Types | |
enum | seek_condition_t { SEEK_CONDITION_LIMIT_1_CHANGE = 0x01, SEEK_CONDITION_LIMIT_2_CHANGE = 0x02, SEEK_CONDITION_INDEX_CHANGE = 0x08, SEEK_CONDITION_POSITION_ERROR = 0x40, SEEK_CONDITION_CURRENT_LIMIT = 0x80 } |
enum | seek_stop_mode_t { SEEK_STOP_TURN_OFF = 0x04, SEEK_STOP_ABRUPTLY = 0x10, SEEK_STOP_SMOOTHLY = 0x20 } |
Public Member Functions | |
set_homing_mode_builder_t () | |
void | condition_enable (seek_condition_t condition) |
void | stop_mode (seek_stop_mode_t mode) |
Protected Member Functions | |
u8_t | _build (void) |
Protected Attributes | |
u8_t | m_conditions |
seek_stop_mode_t | m_stop_mode |
nmc::pic_servo::set_homing_mode_builder_t::set_homing_mode_builder_t | ( | ) | [inline] |
u8_t set_homing_mode_builder_t::_build | ( | void | ) | [protected, virtual] |
Implements nmc::msg_builder_t.
References nmc::msg_builder_t::encode(), m_conditions, and m_stop_mode.
void nmc::pic_servo::set_homing_mode_builder_t::condition_enable | ( | seek_condition_t | condition | ) | [inline] |
References m_conditions.
void nmc::pic_servo::set_homing_mode_builder_t::stop_mode | ( | seek_stop_mode_t | mode | ) | [inline] |
References m_stop_mode.
u8_t nmc::pic_servo::set_homing_mode_builder_t::m_conditions [protected] |
Referenced by _build(), and condition_enable().
Referenced by _build(), and stop_mode().