diff options
Diffstat (limited to 'src/devices/cpu/h8/h8_timer8.cpp')
-rw-r--r-- | src/devices/cpu/h8/h8_timer8.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/cpu/h8/h8_timer8.cpp b/src/devices/cpu/h8/h8_timer8.cpp index 7a95717471d..352b4a7f7d9 100644 --- a/src/devices/cpu/h8/h8_timer8.cpp +++ b/src/devices/cpu/h8/h8_timer8.cpp @@ -42,12 +42,12 @@ void h8_timer8_channel_device::set_info(const char *intc, int _irq_ca, int _irq_ div_tab[5] = div6; } -READ8_MEMBER(h8_timer8_channel_device::tcr_r) +uint8_t h8_timer8_channel_device::tcr_r() { return tcr; } -WRITE8_MEMBER(h8_timer8_channel_device::tcr_w) +void h8_timer8_channel_device::tcr_w(uint8_t data) { update_counter(); tcr = data; @@ -134,12 +134,12 @@ void h8_timer8_channel_device::update_tcr() logerror(buf); } -READ8_MEMBER(h8_timer8_channel_device::tcsr_r) +uint8_t h8_timer8_channel_device::tcsr_r() { return tcsr; } -WRITE8_MEMBER(h8_timer8_channel_device::tcsr_w) +void h8_timer8_channel_device::tcsr_w(uint8_t data) { update_counter(); @@ -152,12 +152,12 @@ WRITE8_MEMBER(h8_timer8_channel_device::tcsr_w) recalc_event(); } -READ8_MEMBER(h8_timer8_channel_device::tcor_r) +uint8_t h8_timer8_channel_device::tcor_r(offs_t offset) { return tcor[offset]; } -WRITE8_MEMBER(h8_timer8_channel_device::tcor_w) +void h8_timer8_channel_device::tcor_w(offs_t offset, uint8_t data) { update_counter(); tcor[offset] = data; @@ -165,14 +165,14 @@ WRITE8_MEMBER(h8_timer8_channel_device::tcor_w) recalc_event(); } -READ8_MEMBER(h8_timer8_channel_device::tcnt_r) +uint8_t h8_timer8_channel_device::tcnt_r() { update_counter(); recalc_event(); return tcnt; } -WRITE8_MEMBER(h8_timer8_channel_device::tcnt_w) +void h8_timer8_channel_device::tcnt_w(uint8_t data) { update_counter(); tcnt = data; |