STM8S/A Standard Peripherals Drivers: TIM6_Registers_Bits_Definition

STM8S/A

STM8S/A Standard Peripherals Drivers
TIM6_Registers_Bits_Definition

Defines

#define TIM6_ARR_ARR   ((uint8_t)0xFF)
#define TIM6_CNTR_CNT   ((uint8_t)0xFF)
#define TIM6_CR1_ARPE   ((uint8_t)0x80)
#define TIM6_CR1_CEN   ((uint8_t)0x01)
#define TIM6_CR1_OPM   ((uint8_t)0x08)
#define TIM6_CR1_UDIS   ((uint8_t)0x02)
#define TIM6_CR1_URS   ((uint8_t)0x04)
#define TIM6_CR2_MMS   ((uint8_t)0x70)
#define TIM6_EGR_TG   ((uint8_t)0x40)
#define TIM6_EGR_UG   ((uint8_t)0x01)
#define TIM6_IER_TIE   ((uint8_t)0x40)
#define TIM6_IER_UIE   ((uint8_t)0x01)
#define TIM6_PSCR_PSC   ((uint8_t)0x07)
#define TIM6_SMCR_MSM   ((uint8_t)0x80)
#define TIM6_SMCR_SMS   ((uint8_t)0x07)
#define TIM6_SMCR_TS   ((uint8_t)0x70)
#define TIM6_SR1_TIF   ((uint8_t)0x40)
#define TIM6_SR1_UIF   ((uint8_t)0x01)

Define Documentation

#define TIM6_ARR_ARR   ((uint8_t)0xFF)

Autoreload Value Mask.

Definition at line 1319 of file stm8s.h.

#define TIM6_CNTR_CNT   ((uint8_t)0xFF)

Counter Value (LSB) Mask.

Definition at line 1315 of file stm8s.h.

#define TIM6_CR1_ARPE   ((uint8_t)0x80)

Auto-Reload Preload Enable Mask.

Definition at line 1294 of file stm8s.h.

Referenced by TIM6_ARRPreloadConfig().

#define TIM6_CR1_CEN   ((uint8_t)0x01)

Counter Enable Mask.

Definition at line 1298 of file stm8s.h.

Referenced by TIM6_Cmd().

#define TIM6_CR1_OPM   ((uint8_t)0x08)

One Pulse Mode Mask.

Definition at line 1295 of file stm8s.h.

Referenced by TIM6_SelectOnePulseMode().

#define TIM6_CR1_UDIS   ((uint8_t)0x02)

Update DIsable Mask.

Definition at line 1297 of file stm8s.h.

Referenced by TIM6_UpdateDisableConfig().

#define TIM6_CR1_URS   ((uint8_t)0x04)

Update Request Source Mask.

Definition at line 1296 of file stm8s.h.

Referenced by TIM6_UpdateRequestConfig().

#define TIM6_CR2_MMS   ((uint8_t)0x70)

MMS Selection Mask.

Definition at line 1300 of file stm8s.h.

Referenced by TIM6_SelectOutputTrigger().

#define TIM6_EGR_TG   ((uint8_t)0x40)

Trigger Generation mask.

Definition at line 1312 of file stm8s.h.

#define TIM6_EGR_UG   ((uint8_t)0x01)

Update Generation Mask.

Definition at line 1313 of file stm8s.h.

Referenced by TIM6_PrescalerConfig().

#define TIM6_IER_TIE   ((uint8_t)0x40)

Trigger Interrupt Enable Mask.

Definition at line 1306 of file stm8s.h.

#define TIM6_IER_UIE   ((uint8_t)0x01)

Update Interrupt Enable Mask.

Definition at line 1307 of file stm8s.h.

#define TIM6_PSCR_PSC   ((uint8_t)0x07)

Prescaler Value Mask.

Definition at line 1317 of file stm8s.h.

#define TIM6_SMCR_MSM   ((uint8_t)0x80)

Master/Slave Mode Mask.

Definition at line 1302 of file stm8s.h.

Referenced by TIM6_SelectMasterSlaveMode().

#define TIM6_SMCR_SMS   ((uint8_t)0x07)

Slave Mode Selection Mask.

Definition at line 1304 of file stm8s.h.

Referenced by TIM6_InternalClockConfig(), and TIM6_SelectSlaveMode().

#define TIM6_SMCR_TS   ((uint8_t)0x70)

Trigger Selection Mask.

Definition at line 1303 of file stm8s.h.

Referenced by TIM6_SelectInputTrigger().

#define TIM6_SR1_TIF   ((uint8_t)0x40)

Trigger Interrupt Flag mask.

Definition at line 1309 of file stm8s.h.

#define TIM6_SR1_UIF   ((uint8_t)0x01)

Update Interrupt Flag Mask.

Definition at line 1310 of file stm8s.h.

STM8 Standard Peripherals Library: Footer

 

 

 

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