libws libws
WSwan hardware library for the Wonderful toolchain
|
Macros | |
#define | WS_TIMER_HBLANK_HZ_TO_TICKS(hz) |
Convert a frequency in hertz to horizontal blank timer ticks. | |
#define | WS_TIMER_VBLANK_HZ_TO_TICKS(hz) |
Convert a frequency in hertz to vertical blank timer ticks. |
Functions | |
static void | ws_timer_hblank_disable (void) |
static void | ws_timer_vblank_disable (void) |
static void | ws_timer_hblank_start_once (uint16_t ticks) |
Request a one-shot horizontal blank timer. | |
static void | ws_timer_vblank_start_once (uint16_t ticks) |
Request a one-shot vertical blank timer. | |
static void | ws_timer_hblank_start_repeat (uint16_t ticks) |
Request a repeating horizontal blank timer. | |
static void | ws_timer_vblank_start_repeat (uint16_t ticks) |
Request a repeating vertical blank timer. |
#define WS_TIMER_HBLANK_HZ_TO_TICKS | ( | hz | ) |
#define WS_TIMER_VBLANK_HZ_TO_TICKS | ( | hz | ) |
Convert a frequency in hertz to vertical blank timer ticks.
Range: 0.0012 .. 75.47 Hz
hz | Frequency, in hertz. |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |