Counter using TIM2

Dependencies:   mbed

Fork of Nucleo_Hello_counter by paolo della vedova

Committer:
gregeric
Date:
Sat Jan 10 20:06:07 2015 +0000
Revision:
0:ee5cb967aa17
Hello World example using the STM32's timer hardware interface, no interrupts.; ; Supporting Nucleo F030, F401, F411 (others can be added - L0xx included but untested).; ; Encoder with TIM4 not working on F411, OK on F401?

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gregeric 0:ee5cb967aa17 1 #ifndef ENCODER_H
gregeric 0:ee5cb967aa17 2 #define ENCODER_H
gregeric 0:ee5cb967aa17 3
gregeric 0:ee5cb967aa17 4 void EncoderInit(TIM_Encoder_InitTypeDef encoder, TIM_HandleTypeDef timer, TIM_TypeDef *TIMx, uint32_t maxcount, uint32_t encmode);
gregeric 0:ee5cb967aa17 5
gregeric 0:ee5cb967aa17 6 #endif