mFrame
載入中...
搜尋中...
無符合項目
Motor

Quadrature Decoder 0 Reset Control.

Quadrature Decoder 0 Reset ControlControls reset state of the Quadrature Decoder 0 (QDC0) peripheral. QDC0 provides hardware decoding of quadrature encoder signals for motor control and position sensing applications.

正交解碼器 0 重置控制,馬達控制和位置感測

QDC0 Functions:

Reset Effects:
  • Position counters reset to zero or initial values
  • Quadrature decoder configuration returns to defaults
  • All pending interrupts and flags are cleared

    Position Control:

    // Setup QDC0 for motor encoder feedback
    reset_ctrl.assert_reset(Control::QDC0);
    configure_encoder_pins();
    reset_ctrl.release_reset(Control::QDC0);
    qdc0_configure_quadrature_mode();