wp_wrreg
static void wp_wrreg(struct agg_info*, u_int16_t, u_int16_t);
wp_wrreg(ess, WPREG_CRAM_PTR, reg | (ch << 4));
wp_wrreg(ess, WPREG_CRAM_PTR, reg | (ch << 4));
wp_wrreg(ess, WPREG_DATA_PORT, data);
wp_wrreg(ess, WPREG_TIMER_ENABLE, 0);
wp_wrreg(ess, WPREG_TIMER_FREQ, 0x9000 |
wp_wrreg(ess, WPREG_TIMER_ENABLE, 1);
wp_wrreg(ess, WPREG_TIMER_START, 1);
wp_wrreg(ess, WPREG_TIMER_START, 0);
wp_wrreg(ess, WPREG_WAVE_ROMRAM,
wp_wrreg(ess, WPREG_CRAM_DATA, 0);
wp_wrreg(ess, 0x08, 0xB004);
wp_wrreg(ess, 0x09, 0x001B);
wp_wrreg(ess, 0x0A, 0x8000);
wp_wrreg(ess, 0x0B, 0x3F37);
wp_wrreg(ess, WPREG_BASE, 0x8598); /* Parallel I/O */
wp_wrreg(ess, WPREG_BASE + 1, 0x7632);