Module pwm_input

Module pwm_input 

Source
Expand description

This module allows Timer peripherals to be configured as pwm input. In this mode, the timer sample a squared signal to find it’s frequency and duty cycle.

Also this module provides Quadrature Encoder Interface

Structs§

PwmInput
PWM Input
Qei
Quadrature Encoder Interface (QEI)
QeiOptions
Quadrature Encoder Interface (QEI) options

Enums§

Configuration
Which frequency the timer will try to sample
Direction
Count direction
Error
The error returned when reading a frequency from a timer
ReadMode
How the data is read from the timer
SlaveMode
SMS (Slave Mode Selection) register

Traits§

Instance
PwmInputExt
QeiExt