libwwcl libwwcl
WWitch compatibility layer for the Wonderful toolchain
|
#include "types.h"
Go to the source code of this file.
Macros | |
#define | RTC_YEAR 0x00 |
#define | RTC_MONTH 0x01 |
#define | RTC_DATE 0x02 |
#define | RTC_DAY_OF_WEEK 0x03 |
#define | RTC_HOUR 0x04 |
#define | RTC_MIN 0x05 |
#define | RTC_SEC 0x06 |
#define | TIMER_HBLANK 0 |
#define | TIMER_VBLANK 1 |
#define | TIMER_ONESHOT 0 |
#define | TIMER_AUTOPRESET 1 |
Functions | |
void | rtc_set_datetime (uint16_t field, uint16_t value) |
static void | rtc_set_year (uint16_t value) |
static void | rtc_set_month (uint16_t value) |
static void | rtc_set_date (uint16_t value) |
static void | rtc_set_day_of_week (uint16_t value) |
static void | rtc_set_hour (uint16_t value) |
static void | rtc_set_minute (uint16_t value) |
static void | rtc_set_second (uint16_t value) |
uint16_t | rtc_get_datetime (uint16_t field) |
static uint16_t | rtc_get_year (void) |
static uint16_t | rtc_get_month (void) |
static uint16_t | rtc_get_date (void) |
static uint16_t | rtc_get_day_of_week (void) |
static uint16_t | rtc_get_hour (void) |
static uint16_t | rtc_get_minute (void) |
static uint16_t | rtc_get_second (void) |
void | rtc_enable_alarm (uint8_t hour, uint8_t minute) |
void | rtc_disable_alarm (void) |
void | timer_enable (uint8_t type, uint16_t reload, uint16_t count) |
void | timer_disable (uint8_t type) |
uint16_t | timer_get_count (uint8_t type) |
FreyaBIOS timer calls.
Definition in file timer.h.