STM32 Encoder
Receiving data from the encoder channels.
blockType: CFunction
|
Path in the library:
|
Description
| To work with the block, install/update the support package. equipment. |
Block STM32 Encoder It is intended for receiving data from encoder channels.
Ports
Output
#
Count
—
the CNT register
scalar
Details
The value of the CNT register selected in the parameter Таймер:, which represents the edge difference at the inputs of the encoder channels.
| Data types |
|
| Complex numbers support |
No |
Parameters
Main group
#
Таймер: —
the timer selected in CubeMX
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
Details
The number of the timer configured in CubeMX in encoder operation mode.
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |

