STM8S/A Standard Peripherals Drivers: TIM6_Exported_Types

STM8S/A

STM8S/A Standard Peripherals Drivers

Enumerations

enum  TIM6_EventSource_TypeDef { TIM6_EVENTSOURCE_UPDATE = ((uint8_t)0x01), TIM6_EVENTSOURCE_TRIGGER = ((uint8_t)0x40) }
 TIM6 Event Source. More...
enum  TIM6_FLAG_TypeDef { TIM6_FLAG_UPDATE = ((uint8_t)0x01), TIM6_FLAG_TRIGGER = ((uint8_t)0x40) }
 TIM6 Flags. More...
enum  TIM6_IT_TypeDef { TIM6_IT_UPDATE = ((uint8_t)0x01), TIM6_IT_TRIGGER = ((uint8_t)0x40) }
 TIM6 interrupt sources. More...
enum  TIM6_OPMode_TypeDef { TIM6_OPMODE_SINGLE = ((uint8_t)0x01), TIM6_OPMODE_REPETITIVE = ((uint8_t)0x00) }
 TIM6 One Pulse Mode. More...
enum  TIM6_Prescaler_TypeDef {
  TIM6_PRESCALER_1 = ((uint8_t)0x00), TIM6_PRESCALER_2 = ((uint8_t)0x01), TIM6_PRESCALER_4 = ((uint8_t)0x02), TIM6_PRESCALER_8 = ((uint8_t)0x03),
  TIM6_PRESCALER_16 = ((uint8_t)0x04), TIM6_PRESCALER_32 = ((uint8_t)0x05), TIM6_PRESCALER_64 = ((uint8_t)0x06), TIM6_PRESCALER_128 = ((uint8_t)0x07)
}
 TIM6 Prescaler. More...
enum  TIM6_PSCReloadMode_TypeDef { TIM6_PSCRELOADMODE_UPDATE = ((uint8_t)0x00), TIM6_PSCRELOADMODE_IMMEDIATE = ((uint8_t)0x01) }
 TIM6 Prescaler Reload Mode. More...
enum  TIM6_SlaveMode_TypeDef {
  TIM6_SLAVEMODE_DISABLE = ((uint8_t)0x00), TIM6_SLAVEMODE_RESET = ((uint8_t)0x04), TIM6_SLAVEMODE_GATED = ((uint8_t)0x05), TIM6_SLAVEMODE_TRIGGER = ((uint8_t)0x06),
  TIM6_SLAVEMODE_EXTERNAL1 = ((uint8_t)0x07)
}
 TIM6 Slave Mode. More...
enum  TIM6_TRGOSource_TypeDef { TIM6_TRGOSOURCE_RESET = ((uint8_t)0x00), TIM6_TRGOSOURCE_ENABLE = ((uint8_t)0x10), TIM6_TRGOSOURCE_UPDATE = ((uint8_t)0x20) }
 TIM6 Trigger Output Source. More...
enum  TIM6_TS_TypeDef { TIM6_TS_TIM1 = ((uint8_t)0x20), TIM6_TS_TIM5 = ((uint8_t)0x30) }
 TIM6 Internal Trigger Selection. More...
enum  TIM6_UpdateSource_TypeDef { TIM6_UPDATESOURCE_GLOBAL = ((uint8_t)0x00), TIM6_UPDATESOURCE_REGULAR = ((uint8_t)0x01) }
 TIM6 Update Source. More...

Enumeration Type Documentation

TIM6 Event Source.

Enumerator:
TIM6_EVENTSOURCE_UPDATE 

Update Event

TIM6_EVENTSOURCE_TRIGGER 

Trigger Event

Definition at line 92 of file stm8s_tim6.h.

TIM6 Flags.

Enumerator:
TIM6_FLAG_UPDATE 

Update Flag

TIM6_FLAG_TRIGGER 

Trigger Flag

Definition at line 123 of file stm8s_tim6.h.

TIM6 interrupt sources.

Enumerator:
TIM6_IT_UPDATE 

Update Interrupt

TIM6_IT_TRIGGER 

Trigger Interrupt

Definition at line 132 of file stm8s_tim6.h.

TIM6 One Pulse Mode.

Enumerator:
TIM6_OPMODE_SINGLE 

Single one Pulse mode (OPM Active)

TIM6_OPMODE_REPETITIVE 

Repetitive Pulse mode (OPM inactive)

Definition at line 65 of file stm8s_tim6.h.

TIM6 Prescaler.

Enumerator:
TIM6_PRESCALER_1 

Time base Prescaler = 1 (No effect)

TIM6_PRESCALER_2 

Time base Prescaler = 2

TIM6_PRESCALER_4 

Time base Prescaler = 4

TIM6_PRESCALER_8 

Time base Prescaler = 8

TIM6_PRESCALER_16 

Time base Prescaler = 16

TIM6_PRESCALER_32 

Time base Prescaler = 32

TIM6_PRESCALER_64 

Time base Prescaler = 64

TIM6_PRESCALER_128 

Time base Prescaler = 128

Definition at line 50 of file stm8s_tim6.h.

TIM6 Prescaler Reload Mode.

Enumerator:
TIM6_PSCRELOADMODE_UPDATE 

Prescaler value is reloaded at every update

TIM6_PSCRELOADMODE_IMMEDIATE 

Prescaler value is reloaded immediately

Definition at line 74 of file stm8s_tim6.h.

TIM6 Slave Mode.

Enumerator:
TIM6_SLAVEMODE_DISABLE 

Disable slave mode to clock the prescaler directly with the internal clock

TIM6_SLAVEMODE_RESET 

Slave Mode Selection = Reset

TIM6_SLAVEMODE_GATED 

Slave Mode Selection = Gated

TIM6_SLAVEMODE_TRIGGER 

Slave Mode Selection = Trigger

TIM6_SLAVEMODE_EXTERNAL1 

Slave Mode Selection = External 1

Definition at line 111 of file stm8s_tim6.h.

TIM6 Trigger Output Source.

Enumerator:
TIM6_TRGOSOURCE_RESET 

Trigger Output source = Reset

TIM6_TRGOSOURCE_ENABLE 

Trigger Output source = TIM5 is enabled

TIM6_TRGOSOURCE_UPDATE 

Trigger Output source = Update event

Definition at line 101 of file stm8s_tim6.h.

TIM6 Internal Trigger Selection.

Enumerator:
TIM6_TS_TIM1 

TRIG Input source = TIM1 TRIG Output

TIM6_TS_TIM5 

TRIG Input source = TIM5 TRIG Output

Definition at line 141 of file stm8s_tim6.h.

TIM6 Update Source.

Enumerator:
TIM6_UPDATESOURCE_GLOBAL 

Global Update request source

TIM6_UPDATESOURCE_REGULAR 

Regular Update request source

Definition at line 83 of file stm8s_tim6.h.

STM8 Standard Peripherals Library: Footer

 

 

 

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