STM8L15x Standard Peripherals Drivers: TIM5_Encoder_Mode

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Defines

#define IS_TIM5_ENCODER_MODE(MODE)

Enumerations

enum  TIM5_EncoderMode_TypeDef { TIM5_EncoderMode_TI1 = ((uint8_t)0x01), TIM5_EncoderMode_TI2 = ((uint8_t)0x02), TIM5_EncoderMode_TI12 = ((uint8_t)0x03) }

Define Documentation

#define IS_TIM5_ENCODER_MODE (   MODE)
Value:
(((MODE) == TIM5_EncoderMode_TI1) || \
   ((MODE) == TIM5_EncoderMode_TI2) || \
   ((MODE) == TIM5_EncoderMode_TI12))

Definition at line 493 of file stm8l15x_tim5.h.

Referenced by TIM5_EncoderInterfaceConfig().


Enumeration Type Documentation

Enumerator:
TIM5_EncoderMode_TI1 

Encoder mode 1

TIM5_EncoderMode_TI2 

Encoder mode 2

TIM5_EncoderMode_TI12 

Encoder mode 3

Definition at line 486 of file stm8l15x_tim5.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com