hi
Fork of Nucleo_Hello_Encoder by
Encoder/Encoder.h@1:cd7b42c99ff8, 2015-10-04 (annotated)
- Committer:
- gregeric
- Date:
- Sun Oct 04 11:58:58 2015 +0000
- Revision:
- 1:cd7b42c99ff8
- Parent:
- 0:ee5cb967aa17
Added more targets, use HAL macros to read counter value & direction.
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 | 1:cd7b42c99ff8 | 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 |