Brice Moda
/
Nucleo_Hello_counter
Counter using TIM2
Fork of Nucleo_Hello_counter by
Encoder/Encoder.h@0:ee5cb967aa17, 2015-01-10 (annotated)
- 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?
User | Revision | Line number | New 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 |