mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
stm32h7/linum-stm32h753bi: add support to qencoder
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
48cf91a7be
commit
738a30a421
@@ -754,4 +754,18 @@ This configuration is focused on network testing using the ethernet periferal::
|
||||
56 bytes from 142.251.129.110: icmp_seq=8 time=0.0 ms
|
||||
56 bytes from 142.251.129.110: icmp_seq=9 time=0.0 ms
|
||||
10 packets transmitted, 10 received, 0% packet loss, time 10100 ms
|
||||
rtt min/avg/max/mdev = 0.000/1.000/10.000/3.000 ms
|
||||
rtt min/avg/max/mdev = 0.000/1.000/10.000/3.000 ms
|
||||
|
||||
qencoder
|
||||
--------
|
||||
|
||||
Configures and enables TIM5 on CH1(PA0) and CH2(PH11) to handle Quadrature Encoder:
|
||||
|
||||
nsh> qe
|
||||
qe_main: Hardware initialized. Opening the encoder device: /dev/qe0
|
||||
qe_main: Number of samples: 0
|
||||
qe_main: 1. 1
|
||||
qe_main: 2. 2
|
||||
qe_main: 3. 3
|
||||
qe_main: 4. 2
|
||||
qe_main: 5. 1
|
||||
|
||||
Reference in New Issue
Block a user