STMicroelectronics library to handle a hardware timer as a frequency divider.
Fork of ST_FREQUENCY_DIVIDER by
FrequencyDivider.h
00001 #ifndef MBED_FREQUENCY_DIVIDER_H 00002 #define MBED_FREQUENCY_DIVIDER_H 00003 00004 #include "platform/platform.h" 00005 #include "hal/stm_i2s_api.h" 00006 00007 00008 /** A frequency divider class. 00009 * 00010 * @Note Synchronization level: No Synchronization. 00011 * 00012 */ 00013 class FrequencyDivider { 00014 00015 public: 00016 00017 /** 00018 * Creating a frequency divider. 00019 */ 00020 FrequencyDivider(); 00021 00022 /** 00023 * Start dividing a frequency. 00024 */ 00025 void start(void); 00026 }; 00027 00028 #endif // MBED_FREQUENCY_DIVIDER_H
Generated on Wed Jul 13 2022 23:07:37 by 1.7.2