STM8S/A Standard Peripherals Drivers
|
Defines | |
#define | IS_TIM6_CLEAR_FLAG_OK(FLAG) ((((FLAG) & (uint8_t)0xBE) == 0x00) && ((FLAG) != 0x00)) |
#define | IS_TIM6_EVENT_SOURCE_OK(SOURCE) |
Macro TIM6 Event source. | |
#define | IS_TIM6_GET_FLAG_OK(FLAG) |
Macro TIM6 Flags. | |
#define | IS_TIM6_GET_IT_OK(IT) |
#define | IS_TIM6_IT_OK(IT) |
Macro TIM6 interrupts. | |
#define | IS_TIM6_OPM_MODE_OK(MODE) |
Macro TIM6 One Pulse Mode. | |
#define | IS_TIM6_PRESCALER_OK(PRESCALER) |
Macro used by the assert function to check the different functions parameters. | |
#define | IS_TIM6_PRESCALER_RELOAD_OK(RELOAD) |
Macro TIM6 Prescaler reload. | |
#define | IS_TIM6_SLAVE_MODE_OK(MODE) |
Macro TIM6 Slave mode. | |
#define | IS_TIM6_TRGO_SOURCE_OK(SOURCE) |
Macro TIM6 TRGO source. | |
#define | IS_TIM6_TRIGGER_SELECTION_OK(SELECTION) |
Macro TIM6 Trigger selection. | |
#define | IS_TIM6_UPDATE_SOURCE_OK(SOURCE) |
Macro TIM6 Update source. |
Define Documentation
#define IS_TIM6_CLEAR_FLAG_OK | ( | FLAG | ) | ((((FLAG) & (uint8_t)0xBE) == 0x00) && ((FLAG) != 0x00)) |
Definition at line 224 of file stm8s_tim6.h.
Referenced by TIM6_ClearFlag().
#define IS_TIM6_EVENT_SOURCE_OK | ( | SOURCE | ) |
((((SOURCE) & (uint8_t)0xBE) == 0x00) && \ ((SOURCE) != 0x00))
Macro TIM6 Event source.
Definition at line 197 of file stm8s_tim6.h.
Referenced by TIM6_GenerateEvent().
#define IS_TIM6_GET_FLAG_OK | ( | FLAG | ) |
(((FLAG) == TIM6_FLAG_UPDATE) || \ ((FLAG) == TIM6_FLAG_TRIGGER))
Macro TIM6 Flags.
Definition at line 220 of file stm8s_tim6.h.
Referenced by TIM6_GetFlagStatus().
#define IS_TIM6_GET_IT_OK | ( | IT | ) |
(((IT) == TIM6_IT_UPDATE) || \ ((IT) == TIM6_IT_TRIGGER))
Definition at line 233 of file stm8s_tim6.h.
Referenced by TIM6_GetITStatus().
#define IS_TIM6_IT_OK | ( | IT | ) |
Macro TIM6 interrupts.
Definition at line 229 of file stm8s_tim6.h.
Referenced by TIM6_ClearITPendingBit(), and TIM6_ITConfig().
#define IS_TIM6_OPM_MODE_OK | ( | MODE | ) |
(((MODE) == TIM6_OPMODE_SINGLE) || \ ((MODE) == TIM6_OPMODE_REPETITIVE))
Macro TIM6 One Pulse Mode.
Definition at line 178 of file stm8s_tim6.h.
Referenced by TIM6_SelectOnePulseMode().
#define IS_TIM6_PRESCALER_OK | ( | PRESCALER | ) |
(((PRESCALER) == TIM6_PRESCALER_1) || \ ((PRESCALER) == TIM6_PRESCALER_2) || \ ((PRESCALER) == TIM6_PRESCALER_4) || \ ((PRESCALER) == TIM6_PRESCALER_8) || \ ((PRESCALER) == TIM6_PRESCALER_16) || \ ((PRESCALER) == TIM6_PRESCALER_32) || \ ((PRESCALER) == TIM6_PRESCALER_64) || \ ((PRESCALER) == TIM6_PRESCALER_128))
Macro used by the assert function to check the different functions parameters.
Macro TIM6 Prescaler
Definition at line 166 of file stm8s_tim6.h.
Referenced by TIM6_PrescalerConfig(), and TIM6_TimeBaseInit().
#define IS_TIM6_PRESCALER_RELOAD_OK | ( | RELOAD | ) |
(((RELOAD) == TIM6_PSCRELOADMODE_UPDATE) || \ ((RELOAD) == TIM6_PSCRELOADMODE_IMMEDIATE))
Macro TIM6 Prescaler reload.
Definition at line 185 of file stm8s_tim6.h.
Referenced by TIM6_PrescalerConfig().
#define IS_TIM6_SLAVE_MODE_OK | ( | MODE | ) |
(((MODE) == TIM6_SLAVEMODE_DISABLE) || \ ((MODE) == TIM6_SLAVEMODE_RESET) || \ ((MODE) == TIM6_SLAVEMODE_GATED) || \ ((MODE) == TIM6_SLAVEMODE_TRIGGER) || \ ((MODE) == TIM6_SLAVEMODE_EXTERNAL1))
Macro TIM6 Slave mode.
Definition at line 211 of file stm8s_tim6.h.
Referenced by TIM6_SelectSlaveMode().
#define IS_TIM6_TRGO_SOURCE_OK | ( | SOURCE | ) |
(((SOURCE) == TIM6_TRGOSOURCE_RESET) || \ ((SOURCE) == TIM6_TRGOSOURCE_ENABLE)|| \ ((SOURCE) == TIM6_TRGOSOURCE_UPDATE))
Macro TIM6 TRGO source.
Definition at line 204 of file stm8s_tim6.h.
Referenced by TIM6_SelectOutputTrigger().
#define IS_TIM6_TRIGGER_SELECTION_OK | ( | SELECTION | ) |
(((SELECTION) == TIM6_TS_TIM5) || \ ((SELECTION) == TIM6_TS_TIM1))
Macro TIM6 Trigger selection.
Definition at line 239 of file stm8s_tim6.h.
Referenced by TIM6_SelectInputTrigger().
#define IS_TIM6_UPDATE_SOURCE_OK | ( | SOURCE | ) |
(((SOURCE) == TIM6_UPDATESOURCE_GLOBAL) || \ ((SOURCE) == TIM6_UPDATESOURCE_REGULAR))
Macro TIM6 Update source.
Definition at line 191 of file stm8s_tim6.h.
Referenced by TIM6_UpdateRequestConfig().