| aMotion_GetMode | Index |
Definition:
Parameters:
| stemRef | - | An opaque library reference representing the aStem library which manages the communication with the BrainStem modules. |
| module | - | The IIC address of the Moto module that will return the mode settings for one of its motion control channels. This need not be the router. |
| channel | - | The index of the motion control channel. |
| pMode | - | Address of char where the mode code will be stored. |
| pFlags | - | Address of char where the flag byte will be stored. |
Return Value:
Description:
This routine manages the BrainStem packets needed to request the mode and flag bytes for a motion control channel and receive the reply.
See the cmdMO_CFG documentation for a list of the motion control mode codes and a description of the flag bits.
Related: