Loading...
Searching...
No Matches
cpu_qdec.h File Reference

QDEC CPU specific definitions for the STM32 family. More...

Detailed Description

QDEC CPU specific definitions for the STM32 family.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m

Definition in file cpu_qdec.h.

#include <stdint.h>
#include "cpu.h"
#include "periph/cpu_gpio.h"
+ Include dependency graph for cpu_qdec.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  qdec_chan_t
 QDEC channel. More...
 
struct  qdec_conf_t
 Quadrature decoder configuration struct. More...
 
#define QDEC_CHAN   (2U)
 All STM QDEC timers have 2 capture channels.
 

Macro Definition Documentation

◆ QDEC_CHAN

#define QDEC_CHAN   (2U)

All STM QDEC timers have 2 capture channels.

Definition at line 36 of file cpu_qdec.h.