Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
CT16B1_PWM.h
00001 /** 00002 * @file CT16B1_PWM.h 00003 * @brief Small driver to user CT16B1 for PWM 00004 * 00005 * @author Jeroen Lodder 00006 * @date Oktober 2013 00007 * 00008 * @note This only uses MAT 1 00009 * @{ 00010 */ 00011 #ifndef CT16B1_PWM_H_ 00012 #define CT16B1_PWM_H_ 00013 00014 void CT16B1_initpwm(uint16_t period_arg, uint16_t defaultstate, uint16_t prescaler_arg); 00015 void CT16B1_reinitpwm(); 00016 void CT16B1_start(void); 00017 void CT16B1_reload_mat(void); 00018 void CT16B1_set(uint8_t matnr, uint16_t value); 00019 void CT16B1_deinit(uint8_t state); 00020 void CT16B1_wait_refresh(void); 00021 uint16_t CT16B1_get_period(void); 00022 uint32_t CT16B1_isStarted(void); 00023 00024 #endif //CT16B1_PWM_H_ 00025 /** 00026 *@} 00027 */ 00028
Generated on Mon Jul 18 2022 01:28:39 by
1.7.2