libws libws
WSwan hardware library for the Wonderful toolchain
|
Macros | |
#define | WS_TIMER_CTRL_PORT 0xA2 |
#define | WS_TIMER_CTRL_VBL_DISABLE 0x00 |
#define | WS_TIMER_CTRL_VBL_ONESHOT 0x04 |
#define | WS_TIMER_CTRL_VBL_REPEAT 0x0C |
#define | WS_TIMER_CTRL_VBL_SHIFT 2 |
#define | WS_TIMER_CTRL_VBL_MASK 0x0C |
#define | WS_TIMER_CTRL_VBL_REPEAT_BIT 0x08 |
#define | WS_TIMER_CTRL_VBL_ENABLE_BIT 0x04 |
#define | WS_TIMER_CTRL_HBL_DISABLE 0x00 |
#define | WS_TIMER_CTRL_HBL_ONESHOT 0x01 |
#define | WS_TIMER_CTRL_HBL_REPEAT 0x03 |
#define | WS_TIMER_CTRL_HBL_SHIFT 0 |
#define | WS_TIMER_CTRL_HBL_MASK 0x03 |
#define | WS_TIMER_CTRL_HBL_REPEAT_BIT 0x02 |
#define | WS_TIMER_CTRL_HBL_ENABLE_BIT 0x01 |
#define | WS_TIMER_HBL_RELOAD_PORT 0xA4 |
#define | WS_TIMER_VBL_RELOAD_PORT 0xA6 |
#define | WS_TIMER_HBL_COUNTER_PORT 0xA8 |
#define | WS_TIMER_VBL_COUNTER_PORT 0xAA |
#define WS_TIMER_CTRL_HBL_DISABLE 0x00 |
#define WS_TIMER_CTRL_HBL_ONESHOT 0x01 |
#define WS_TIMER_CTRL_HBL_REPEAT 0x03 |
#define WS_TIMER_CTRL_VBL_DISABLE 0x00 |
#define WS_TIMER_CTRL_VBL_ONESHOT 0x04 |
#define WS_TIMER_CTRL_VBL_REPEAT 0x0C |
#define WS_TIMER_HBL_COUNTER_PORT 0xA8 |
#define WS_TIMER_HBL_RELOAD_PORT 0xA4 |
#define WS_TIMER_VBL_COUNTER_PORT 0xAA |