COSA
An Object-Oriented Platform for Arduino Programming
|
#include <RTT.hh>
Classes | |
class | Clock |
class | Scheduler |
Static Public Member Functions | |
static bool | begin () |
static bool | end () |
static uint16_t | us_per_tick () |
static uint16_t | us_per_timer_cycle () |
static uint32_t | micros () |
static void | micros (uint32_t usec) |
static uint32_t | millis () |
static void | millis (uint32_t ms) |
static uint32_t | since (uint32_t start) |
static void | delay (uint32_t ms) |
static void | await () |
static void | job (RTT::Scheduler *scheduler) |
static RTT::Scheduler * | scheduler () |
static void | wall (Clock *clock) |
static Clock * | clock () |
Friends | |
class | RTT::Scheduler |
Real-Time Timer (RTT) with micro/milli/seconds timing based on hardware timer. Uses Timer2 when possible to allow low power mode with timer. Alternatively Timer0 is used.
Cannot be used together with other classes that use AVR/Timer2/ Timer0.
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
friend |