STMicroelectronics library to handle a hardware timer as a frequency divider.
Fork of ST_FREQUENCY_DIVIDER by
Platform compatibility
- This driver currently provides support for the Nucleo F4 Family, but it has been tested only with the following MCU boards:
drivers/FrequencyDivider.h
- Committer:
- Davidroid
- Date:
- 2017-07-12
- Revision:
- 2:52d3392d33d3
- Parent:
- 0:f11903264b5e
File content as of revision 2:52d3392d33d3:
#ifndef MBED_FREQUENCY_DIVIDER_H #define MBED_FREQUENCY_DIVIDER_H #include "platform/platform.h" #include "hal/stm_i2s_api.h" /** A frequency divider class. * * @Note Synchronization level: No Synchronization. * */ class FrequencyDivider { public: /** * Creating a frequency divider. */ FrequencyDivider(); /** * Start dividing a frequency. */ void start(void); }; #endif // MBED_FREQUENCY_DIVIDER_H