Created
June 16, 2014 14:45
-
-
Save gamazeps/a798a31bce13f11a04ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static PWMConfig pwmcfg = { | |
200000, /* 200Khz PWM clock frequency*/ | |
1024, /* PWM period of 1024 ticks ~ 0.005 second */ | |
NULL, /* No callback */ | |
/* Only channel 1 enabled */ | |
{ | |
{PWM_OUTPUT_ACTIVE_HIGH, NULL}, | |
{PWM_OUTPUT_DISABLED, NULL}, | |
{PWM_OUTPUT_DISABLED, NULL}, | |
{PWM_OUTPUT_DISABLED, NULL} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment