MSP432E4 DriverLib API Guide  1.11.00.03
Macros
hw_qei.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define QEI_O_CTL   0x00000000
 
#define QEI_O_STAT   0x00000004
 
#define QEI_O_POS   0x00000008
 
#define QEI_O_MAXPOS   0x0000000C
 
#define QEI_O_LOAD   0x00000010
 
#define QEI_O_TIME   0x00000014
 
#define QEI_O_COUNT   0x00000018
 
#define QEI_O_SPEED   0x0000001C
 
#define QEI_O_INTEN   0x00000020
 
#define QEI_O_RIS   0x00000024
 
#define QEI_O_ISC   0x00000028
 
#define QEI_CTL_FILTCNT_M   0x000F0000
 
#define QEI_CTL_FILTEN   0x00002000
 
#define QEI_CTL_STALLEN   0x00001000
 
#define QEI_CTL_INVI   0x00000800
 
#define QEI_CTL_INVB   0x00000400
 
#define QEI_CTL_INVA   0x00000200
 
#define QEI_CTL_VELDIV_M   0x000001C0
 
#define QEI_CTL_VELDIV_1   0x00000000
 
#define QEI_CTL_VELDIV_2   0x00000040
 
#define QEI_CTL_VELDIV_4   0x00000080
 
#define QEI_CTL_VELDIV_8   0x000000C0
 
#define QEI_CTL_VELDIV_16   0x00000100
 
#define QEI_CTL_VELDIV_32   0x00000140
 
#define QEI_CTL_VELDIV_64   0x00000180
 
#define QEI_CTL_VELDIV_128   0x000001C0
 
#define QEI_CTL_VELEN   0x00000020
 
#define QEI_CTL_RESMODE   0x00000010
 
#define QEI_CTL_CAPMODE   0x00000008
 
#define QEI_CTL_SIGMODE   0x00000004
 
#define QEI_CTL_SWAP   0x00000002
 
#define QEI_CTL_ENABLE   0x00000001
 
#define QEI_CTL_FILTCNT_S   16
 
#define QEI_STAT_DIRECTION   0x00000002
 
#define QEI_STAT_ERROR   0x00000001
 
#define QEI_POS_M   0xFFFFFFFF
 
#define QEI_POS_S   0
 
#define QEI_MAXPOS_M   0xFFFFFFFF
 
#define QEI_MAXPOS_S   0
 
#define QEI_LOAD_M   0xFFFFFFFF
 
#define QEI_LOAD_S   0
 
#define QEI_TIME_M   0xFFFFFFFF
 
#define QEI_TIME_S   0
 
#define QEI_COUNT_M   0xFFFFFFFF
 
#define QEI_COUNT_S   0
 
#define QEI_SPEED_M   0xFFFFFFFF
 
#define QEI_SPEED_S   0
 
#define QEI_INTEN_ERROR   0x00000008
 
#define QEI_INTEN_DIR   0x00000004
 
#define QEI_INTEN_TIMER   0x00000002
 
#define QEI_INTEN_INDEX   0x00000001
 
#define QEI_RIS_ERROR   0x00000008
 
#define QEI_RIS_DIR   0x00000004
 
#define QEI_RIS_TIMER   0x00000002
 
#define QEI_RIS_INDEX   0x00000001
 
#define QEI_ISC_ERROR   0x00000008
 
#define QEI_ISC_DIR   0x00000004
 
#define QEI_ISC_TIMER   0x00000002
 
#define QEI_ISC_INDEX   0x00000001
 

Macro Definition Documentation

§ QEI_O_CTL

#define QEI_O_CTL   0x00000000

§ QEI_O_STAT

#define QEI_O_STAT   0x00000004

Referenced by QEIDirectionGet(), and QEIErrorGet().

§ QEI_O_POS

#define QEI_O_POS   0x00000008

Referenced by QEIPositionGet(), and QEIPositionSet().

§ QEI_O_MAXPOS

#define QEI_O_MAXPOS   0x0000000C

Referenced by QEIConfigure().

§ QEI_O_LOAD

#define QEI_O_LOAD   0x00000010

Referenced by QEIVelocityConfigure().

§ QEI_O_TIME

#define QEI_O_TIME   0x00000014

§ QEI_O_COUNT

#define QEI_O_COUNT   0x00000018

§ QEI_O_SPEED

#define QEI_O_SPEED   0x0000001C

Referenced by QEIVelocityGet().

§ QEI_O_INTEN

#define QEI_O_INTEN   0x00000020

Referenced by QEIIntDisable(), and QEIIntEnable().

§ QEI_O_RIS

#define QEI_O_RIS   0x00000024

Referenced by QEIIntStatus().

§ QEI_O_ISC

#define QEI_O_ISC   0x00000028

Referenced by QEIIntClear(), and QEIIntStatus().

§ QEI_CTL_FILTCNT_M

#define QEI_CTL_FILTCNT_M   0x000F0000

Referenced by QEIFilterConfigure().

§ QEI_CTL_FILTEN

#define QEI_CTL_FILTEN   0x00002000

§ QEI_CTL_STALLEN

#define QEI_CTL_STALLEN   0x00001000

§ QEI_CTL_INVI

#define QEI_CTL_INVI   0x00000800

§ QEI_CTL_INVB

#define QEI_CTL_INVB   0x00000400

§ QEI_CTL_INVA

#define QEI_CTL_INVA   0x00000200

§ QEI_CTL_VELDIV_M

#define QEI_CTL_VELDIV_M   0x000001C0

Referenced by QEIVelocityConfigure().

§ QEI_CTL_VELDIV_1

#define QEI_CTL_VELDIV_1   0x00000000

§ QEI_CTL_VELDIV_2

#define QEI_CTL_VELDIV_2   0x00000040

§ QEI_CTL_VELDIV_4

#define QEI_CTL_VELDIV_4   0x00000080

§ QEI_CTL_VELDIV_8

#define QEI_CTL_VELDIV_8   0x000000C0

§ QEI_CTL_VELDIV_16

#define QEI_CTL_VELDIV_16   0x00000100

§ QEI_CTL_VELDIV_32

#define QEI_CTL_VELDIV_32   0x00000140

§ QEI_CTL_VELDIV_64

#define QEI_CTL_VELDIV_64   0x00000180

§ QEI_CTL_VELDIV_128

#define QEI_CTL_VELDIV_128   0x000001C0

§ QEI_CTL_VELEN

#define QEI_CTL_VELEN   0x00000020

§ QEI_CTL_RESMODE

#define QEI_CTL_RESMODE   0x00000010

Referenced by QEIConfigure().

§ QEI_CTL_CAPMODE

#define QEI_CTL_CAPMODE   0x00000008

Referenced by QEIConfigure().

§ QEI_CTL_SIGMODE

#define QEI_CTL_SIGMODE   0x00000004

Referenced by QEIConfigure().

§ QEI_CTL_SWAP

#define QEI_CTL_SWAP   0x00000002

Referenced by QEIConfigure().

§ QEI_CTL_ENABLE

#define QEI_CTL_ENABLE   0x00000001

Referenced by QEIDisable(), and QEIEnable().

§ QEI_CTL_FILTCNT_S

#define QEI_CTL_FILTCNT_S   16

§ QEI_STAT_DIRECTION

#define QEI_STAT_DIRECTION   0x00000002

Referenced by QEIDirectionGet().

§ QEI_STAT_ERROR

#define QEI_STAT_ERROR   0x00000001

Referenced by QEIErrorGet().

§ QEI_POS_M

#define QEI_POS_M   0xFFFFFFFF

§ QEI_POS_S

#define QEI_POS_S   0

§ QEI_MAXPOS_M

#define QEI_MAXPOS_M   0xFFFFFFFF

§ QEI_MAXPOS_S

#define QEI_MAXPOS_S   0

§ QEI_LOAD_M

#define QEI_LOAD_M   0xFFFFFFFF

§ QEI_LOAD_S

#define QEI_LOAD_S   0

§ QEI_TIME_M

#define QEI_TIME_M   0xFFFFFFFF

§ QEI_TIME_S

#define QEI_TIME_S   0

§ QEI_COUNT_M

#define QEI_COUNT_M   0xFFFFFFFF

§ QEI_COUNT_S

#define QEI_COUNT_S   0

§ QEI_SPEED_M

#define QEI_SPEED_M   0xFFFFFFFF

§ QEI_SPEED_S

#define QEI_SPEED_S   0

§ QEI_INTEN_ERROR

#define QEI_INTEN_ERROR   0x00000008

§ QEI_INTEN_DIR

#define QEI_INTEN_DIR   0x00000004

§ QEI_INTEN_TIMER

#define QEI_INTEN_TIMER   0x00000002

§ QEI_INTEN_INDEX

#define QEI_INTEN_INDEX   0x00000001

§ QEI_RIS_ERROR

#define QEI_RIS_ERROR   0x00000008

§ QEI_RIS_DIR

#define QEI_RIS_DIR   0x00000004

§ QEI_RIS_TIMER

#define QEI_RIS_TIMER   0x00000002

§ QEI_RIS_INDEX

#define QEI_RIS_INDEX   0x00000001

§ QEI_ISC_ERROR

#define QEI_ISC_ERROR   0x00000008

§ QEI_ISC_DIR

#define QEI_ISC_DIR   0x00000004

§ QEI_ISC_TIMER

#define QEI_ISC_TIMER   0x00000002

§ QEI_ISC_INDEX

#define QEI_ISC_INDEX   0x00000001
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale