Macros
Collaboration diagram for HRTIM_FaultFilter:

Macros

#define HRTIM_FAULTFILTER_1   (HRTIM_FLTINR1_FLT1F_0)
 
#define HRTIM_FAULTFILTER_10   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_1)
 
#define HRTIM_FAULTFILTER_11   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)
 
#define HRTIM_FAULTFILTER_12   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2)
 
#define HRTIM_FAULTFILTER_13   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_0)
 
#define HRTIM_FAULTFILTER_14   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1)
 
#define HRTIM_FAULTFILTER_15   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)
 
#define HRTIM_FAULTFILTER_2   (HRTIM_FLTINR1_FLT1F_1)
 
#define HRTIM_FAULTFILTER_3   (HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)
 
#define HRTIM_FAULTFILTER_4   (HRTIM_FLTINR1_FLT1F_2)
 
#define HRTIM_FAULTFILTER_5   (HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_0)
 
#define HRTIM_FAULTFILTER_6   (HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1)
 
#define HRTIM_FAULTFILTER_7   (HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)
 
#define HRTIM_FAULTFILTER_8   (HRTIM_FLTINR1_FLT1F_3)
 
#define HRTIM_FAULTFILTER_9   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_0)
 
#define HRTIM_FAULTFILTER_NONE   ((uint32_t)0x00000000)
 
#define IS_HRTIM_FAULTFILTER(FAULTFILTER)
 

Detailed Description

@ brief Constants defining the frequency used to sample the fault input and the length (N) of the digital filter applied

Macro Definition Documentation

#define HRTIM_FAULTFILTER_1   (HRTIM_FLTINR1_FLT1F_0)

fSAMPLING= fHRTIM, N=2

Definition at line 1657 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_10   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_1)

fSAMPLING= fFLTS/16, N=5

Definition at line 1666 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_11   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)

fSAMPLING= fFLTS/16, N=6

Definition at line 1667 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_12   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2)

fSAMPLING= fFLTS/16, N=8

Definition at line 1668 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_13   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_0)

fSAMPLING= fFLTS/32, N=5

Definition at line 1669 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_14   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1)

fSAMPLING= fFLTS/32, N=6

Definition at line 1670 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_15   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)

fSAMPLING= fFLTS/32, N=8

Definition at line 1671 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_2   (HRTIM_FLTINR1_FLT1F_1)

fSAMPLING= fHRTIM, N=4

Definition at line 1658 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_3   (HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)

fSAMPLING= fHRTIM, N=8

Definition at line 1659 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_4   (HRTIM_FLTINR1_FLT1F_2)

fSAMPLING= fFLTS/2, N=6

Definition at line 1660 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_5   (HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_0)

fSAMPLING= fFLTS/2, N=8

Definition at line 1661 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_6   (HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1)

fSAMPLING= fFLTS/4, N=6

Definition at line 1662 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_7   (HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)

fSAMPLING= fFLTS/4, N=8

Definition at line 1663 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_8   (HRTIM_FLTINR1_FLT1F_3)

fSAMPLING= fFLTS/8, N=6

Definition at line 1664 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_9   (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_0)

fSAMPLING= fFLTS/8, N=8

Definition at line 1665 of file stm32f30x_hrtim.h.

#define HRTIM_FAULTFILTER_NONE   ((uint32_t)0x00000000)

Filter disabled

Definition at line 1656 of file stm32f30x_hrtim.h.

#define IS_HRTIM_FAULTFILTER (   FAULTFILTER)
Value:
(((FAULTFILTER) == HRTIM_FAULTFILTER_NONE) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_1) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_2) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_3) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_4) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_5) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_6) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_7) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_8) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_9) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_10) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_11) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_12) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_13) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_14) || \
((FAULTFILTER) == HRTIM_FAULTFILTER_15))
#define HRTIM_FAULTFILTER_1
#define HRTIM_FAULTFILTER_4
#define HRTIM_FAULTFILTER_8
#define HRTIM_FAULTFILTER_10
#define HRTIM_FAULTFILTER_6
#define HRTIM_FAULTFILTER_15
#define HRTIM_FAULTFILTER_5
#define HRTIM_FAULTFILTER_9
#define HRTIM_FAULTFILTER_7
#define HRTIM_FAULTFILTER_NONE
#define HRTIM_FAULTFILTER_12
#define HRTIM_FAULTFILTER_3
#define HRTIM_FAULTFILTER_13
#define HRTIM_FAULTFILTER_11
#define HRTIM_FAULTFILTER_2
#define HRTIM_FAULTFILTER_14

Definition at line 1673 of file stm32f30x_hrtim.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Fri Jul 24 2020 03:20:14