LUBBOCK_OBIO_VBASE
ioreg_write(LUBBOCK_OBIO_VBASE+0x10, value);
ioreg_write(LUBBOCK_OBIO_VBASE+0x40, led_control_value);
LUBBOCK_OBIO_VBASE,
ioreg_read(LUBBOCK_OBIO_VBASE+LUBBOCK_MISCRD);
uint16_t sw = ioreg16_read(LUBBOCK_OBIO_VBASE+LUBBOCK_USERSW);
if (0 == (ioreg_read(LUBBOCK_OBIO_VBASE+LUBBOCK_USERSW) & (1<<15))) {
#define hex_led(value) ioreg_write( LUBBOCK_OBIO_VBASE+LUBBOCK_HEXLED, (value) )
#define d_led(value) ioreg16_write( LUBBOCK_OBIO_VBASE+LUBBOCK_LEDCTL, (value) )
#define obio_read(offset) ioreg_read(LUBBOCK_OBIO_VBASE+(offset))
ioreg_write(LUBBOCK_OBIO_VBASE+(offset), (value))
#define obio16_read(offset) ioreg16_read(LUBBOCK_OBIO_VBASE+(offset))
ioreg16_write(LUBBOCK_OBIO_VBASE+(offset), (value))
#define obio8_read(offset) ioreg8_read(LUBBOCK_OBIO_VBASE+(offset))
ioreg8_write(LUBBOCK_OBIO_VBASE+(offset), (value))