Read motor axis position.
uint32_t pdec_async_read_position( struct pdec_async_descriptor *const descr, uint8_t axis )
This function reads the position count of the motor axis. With this count, the user will know if the motor axis movement is clockwise (increase) or re-clockwise (decrease), and the position of the movement.
Type: struct pdec_async_descriptor Struct *const
The pointer to the Position Decoder descriptor
Type: uint8_t
The axis number to read
Type: uint32_t
The position count of the motor axis.