M480 BSP V3.05.006
The Board Support Package for M480 Series
Modules | Macros
QEI Exported Constants

Modules

 QEI Exported Functions
 

Macros

#define QEI_CTL_X4_FREE_COUNTING_MODE
 
#define QEI_CTL_X2_FREE_COUNTING_MODE
 
#define QEI_CTL_X4_COMPARE_COUNTING_MODE
 
#define QEI_CTL_X2_COMPARE_COUNTING_MODE
 
#define QEI_CTL_NFCLKSEL_DIV1
 
#define QEI_CTL_NFCLKSEL_DIV2
 
#define QEI_CTL_NFCLKSEL_DIV4
 
#define QEI_CTL_NFCLKSEL_DIV16
 
#define QEI_CTL_NFCLKSEL_DIV32
 
#define QEI_CTL_NFCLKSEL_DIV64
 

Detailed Description

Macro Definition Documentation

◆ QEI_CTL_NFCLKSEL_DIV1

#define QEI_CTL_NFCLKSEL_DIV1

The sampling frequency of the noise filter is QEI_CLK

Definition at line 41 of file qei.h.

◆ QEI_CTL_NFCLKSEL_DIV16

#define QEI_CTL_NFCLKSEL_DIV16

The sampling frequency of the noise filter is QEI_CLK/16

Definition at line 44 of file qei.h.

◆ QEI_CTL_NFCLKSEL_DIV2

#define QEI_CTL_NFCLKSEL_DIV2

The sampling frequency of the noise filter is QEI_CLK/2

Definition at line 42 of file qei.h.

◆ QEI_CTL_NFCLKSEL_DIV32

#define QEI_CTL_NFCLKSEL_DIV32

The sampling frequency of the noise filter is QEI_CLK/32

Definition at line 45 of file qei.h.

◆ QEI_CTL_NFCLKSEL_DIV4

#define QEI_CTL_NFCLKSEL_DIV4

The sampling frequency of the noise filter is QEI_CLK/4

Definition at line 43 of file qei.h.

◆ QEI_CTL_NFCLKSEL_DIV64

#define QEI_CTL_NFCLKSEL_DIV64

The sampling frequency of the noise filter is QEI_CLK/64

Definition at line 46 of file qei.h.

◆ QEI_CTL_X2_COMPARE_COUNTING_MODE

#define QEI_CTL_X2_COMPARE_COUNTING_MODE

QEI operate in X2 compare-counting mode

Definition at line 36 of file qei.h.

◆ QEI_CTL_X2_FREE_COUNTING_MODE

#define QEI_CTL_X2_FREE_COUNTING_MODE

QEI operate in X2 free-counting mode

Definition at line 34 of file qei.h.

◆ QEI_CTL_X4_COMPARE_COUNTING_MODE

#define QEI_CTL_X4_COMPARE_COUNTING_MODE

QEI operate in X4 compare-counting mode

Definition at line 35 of file qei.h.

◆ QEI_CTL_X4_FREE_COUNTING_MODE

#define QEI_CTL_X4_FREE_COUNTING_MODE

QEI operate in X4 free-counting mode

Definition at line 33 of file qei.h.