STM8S/A Standard Peripherals Drivers: TIM4_Registers_Bits_Definition

STM8S/A

STM8S/A Standard Peripherals Drivers
TIM4_Registers_Bits_Definition

Defines

#define TIM4_ARR_ARR   ((uint8_t)0xFF)
#define TIM4_CNTR_CNT   ((uint8_t)0xFF)
#define TIM4_CR1_ARPE   ((uint8_t)0x80)
#define TIM4_CR1_CEN   ((uint8_t)0x01)
#define TIM4_CR1_OPM   ((uint8_t)0x08)
#define TIM4_CR1_UDIS   ((uint8_t)0x02)
#define TIM4_CR1_URS   ((uint8_t)0x04)
#define TIM4_EGR_UG   ((uint8_t)0x01)
#define TIM4_IER_UIE   ((uint8_t)0x01)
#define TIM4_PSCR_PSC   ((uint8_t)0x07)
#define TIM4_SR1_UIF   ((uint8_t)0x01)

Define Documentation

#define TIM4_ARR_ARR   ((uint8_t)0xFF)

Autoreload Value mask.

Definition at line 1110 of file stm8s.h.

#define TIM4_CNTR_CNT   ((uint8_t)0xFF)

Counter Value (LSB) mask.

Definition at line 1106 of file stm8s.h.

#define TIM4_CR1_ARPE   ((uint8_t)0x80)

Auto-Reload Preload Enable mask.

Definition at line 1094 of file stm8s.h.

Referenced by TIM4_ARRPreloadConfig().

#define TIM4_CR1_CEN   ((uint8_t)0x01)

Counter Enable mask.

Definition at line 1098 of file stm8s.h.

Referenced by TIM4_Cmd().

#define TIM4_CR1_OPM   ((uint8_t)0x08)

One Pulse Mode mask.

Definition at line 1095 of file stm8s.h.

Referenced by TIM4_SelectOnePulseMode().

#define TIM4_CR1_UDIS   ((uint8_t)0x02)

Update DIsable mask.

Definition at line 1097 of file stm8s.h.

Referenced by TIM4_UpdateDisableConfig().

#define TIM4_CR1_URS   ((uint8_t)0x04)

Update Request Source mask.

Definition at line 1096 of file stm8s.h.

Referenced by TIM4_UpdateRequestConfig().

#define TIM4_EGR_UG   ((uint8_t)0x01)

Update Generation mask.

Definition at line 1104 of file stm8s.h.

#define TIM4_IER_UIE   ((uint8_t)0x01)

Update Interrupt Enable mask.

Definition at line 1100 of file stm8s.h.

#define TIM4_PSCR_PSC   ((uint8_t)0x07)

Prescaler Value mask.

Definition at line 1108 of file stm8s.h.

#define TIM4_SR1_UIF   ((uint8_t)0x01)

Update Interrupt Flag mask.

Definition at line 1102 of file stm8s.h.

STM8 Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM8 8-bit Microcontrollers platform visit www.st.com