Macros

Constants defining whether the compare register is behaving in regular mode (compare match issued as soon as counter equal compare), or in auto-delayed mode. More...

Collaboration diagram for HRTIM_CompareUnitAutoDelayedMode:

Macros

#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_NOTIMEOUT   (HRTIM_TIMCR_DELCMP2_0)
 
#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_TIMEOUTCMP1   (HRTIM_TIMCR_DELCMP2_1)
 
#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_TIMEOUTCMP3   (HRTIM_TIMCR_DELCMP2_1 | HRTIM_TIMCR_DELCMP2_0)
 
#define HRTIM_AUTODELAYEDMODE_REGULAR   ((uint32_t)0x00000000)
 
#define IS_HRTIM_AUTODELAYEDMODE(AUTODELAYEDMODE)
 
#define IS_HRTIM_COMPAREUNIT_AUTODELAYEDMODE(COMPAREUNIT, AUTODELAYEDMODE)
 

Detailed Description

Constants defining whether the compare register is behaving in regular mode (compare match issued as soon as counter equal compare), or in auto-delayed mode.

Macro Definition Documentation

#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_NOTIMEOUT   (HRTIM_TIMCR_DELCMP2_0)

Compare event generated only if a capture has occured

Definition at line 909 of file stm32f30x_hrtim.h.

#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_TIMEOUTCMP1   (HRTIM_TIMCR_DELCMP2_1)

Compare event generated if a capture has occurred or after a Compare 1 match (timeout if capture event is missing)

Definition at line 910 of file stm32f30x_hrtim.h.

#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_TIMEOUTCMP3   (HRTIM_TIMCR_DELCMP2_1 | HRTIM_TIMCR_DELCMP2_0)

Compare event generated if a capture has occurred or after a Compare 3 match (timeout if capture event is missing)

Definition at line 911 of file stm32f30x_hrtim.h.

#define HRTIM_AUTODELAYEDMODE_REGULAR   ((uint32_t)0x00000000)

standard compare mode

Definition at line 908 of file stm32f30x_hrtim.h.

#define IS_HRTIM_AUTODELAYEDMODE (   AUTODELAYEDMODE)
Value:
(((AUTODELAYEDMODE) == HRTIM_AUTODELAYEDMODE_REGULAR) || \
((AUTODELAYEDMODE) == HRTIM_AUTODELAYEDMODE_AUTODELAYED_NOTIMEOUT) || \
#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_NOTIMEOUT
#define HRTIM_AUTODELAYEDMODE_REGULAR
#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_TIMEOUTCMP1
#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_TIMEOUTCMP3

Definition at line 913 of file stm32f30x_hrtim.h.

#define IS_HRTIM_COMPAREUNIT_AUTODELAYEDMODE (   COMPAREUNIT,
  AUTODELAYEDMODE 
)
Value:
((((COMPAREUNIT) == HRTIM_COMPAREUNIT_1) && \
((AUTODELAYEDMODE) == HRTIM_AUTODELAYEDMODE_REGULAR)) \
|| \
(((COMPAREUNIT) == HRTIM_COMPAREUNIT_2) && \
(((AUTODELAYEDMODE) == HRTIM_AUTODELAYEDMODE_REGULAR) || \
((AUTODELAYEDMODE) == HRTIM_AUTODELAYEDMODE_AUTODELAYED_NOTIMEOUT) || \
|| \
(((COMPAREUNIT) == HRTIM_COMPAREUNIT_3) && \
((AUTODELAYEDMODE) == HRTIM_AUTODELAYEDMODE_REGULAR)) \
|| \
(((COMPAREUNIT) == HRTIM_COMPAREUNIT_4) && \
(((AUTODELAYEDMODE) == HRTIM_AUTODELAYEDMODE_REGULAR) || \
((AUTODELAYEDMODE) == HRTIM_AUTODELAYEDMODE_AUTODELAYED_NOTIMEOUT) || \
#define HRTIM_COMPAREUNIT_2
#define HRTIM_COMPAREUNIT_3
#define HRTIM_COMPAREUNIT_4
#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_NOTIMEOUT
#define HRTIM_AUTODELAYEDMODE_REGULAR
#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_TIMEOUTCMP1
#define HRTIM_COMPAREUNIT_1
#define HRTIM_AUTODELAYEDMODE_AUTODELAYED_TIMEOUTCMP3

Definition at line 920 of file stm32f30x_hrtim.h.



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