diff options
author | iperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123> | 2009-12-25 08:39:24 +0000 |
---|---|---|
committer | iperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123> | 2009-12-25 08:39:24 +0000 |
commit | b6674cd738cc22e61ea34cb659750ef45ce01df4 (patch) | |
tree | bfee2ae84883c32871ee13a6e0f346f144263cf6 /src/lib/timers.h | |
parent | 3bb04834ffd3f90dc9015997ea11a56d9d150099 (diff) | |
download | librambutan-b6674cd738cc22e61ea34cb659750ef45ce01df4.tar.gz librambutan-b6674cd738cc22e61ea34cb659750ef45ce01df4.zip |
Fixed delayMicroseconds, changed serial interface, added an (untested) runtime check for pwm/serial collision, moved more headers around.
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@79 749a229e-a60e-11de-b98f-4500b42dc123
Diffstat (limited to 'src/lib/timers.h')
-rw-r--r-- | src/lib/timers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/timers.h b/src/lib/timers.h index 9147fd4..18b0afb 100644 --- a/src/lib/timers.h +++ b/src/lib/timers.h @@ -117,6 +117,7 @@ typedef volatile uint32_t* TimerCCR; * */ void timer_init(uint8_t, uint16_t); void timers_disable(void); +void timers_disable_channel(uint8, uint8); /* Turn on PWM with duty_cycle on the specified channel in timer. * This function takes in a pointer to the corresponding CCR |