summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f744947)
void pwm_enable(PwmDev dev, bool state);
void pwm_init(void);
void pwm_enable(PwmDev dev, bool state);
void pwm_init(void);
* Test function prototypes.
*
* See pwm_test.c for implemntation of these functions.
* Test function prototypes.
*
* See pwm_test.c for implemntation of these functions.
#define PWM_DUTY_INC 200 // Incremental value for duty
#define PWM_DUTY_INC 200 // Incremental value for duty
* Simple struct to store
* the testing value.
*/
* Simple struct to store
* the testing value.
*/
{ 3, false, 100000UL, 0xCCCC } /* 100KHz, 80% duty */
};
{ 3, false, 100000UL, 0xCCCC } /* 100KHz, 80% duty */
};
* Setup all needed to test PWM on AT91
*
*/
* Setup all needed to test PWM on AT91
*
*/
* Test suit for genation of pwm waveform.
*
*/
* Test suit for genation of pwm waveform.
*
*/
* End a PWM Test.
* (Unused)
*/
* End a PWM Test.
* (Unused)
*/