diff options
author | 2019-05-01 17:36:50 +0900 | |
---|---|---|
committer | 2019-05-01 17:36:50 +0900 | |
commit | 2cce7ba6926a48b9aa0a40944ac1c1d30038f0f5 (patch) | |
tree | 53a5f11423edb2c8a0e584a24d137fb936194f84 /src/devices/machine/adc1213x.h | |
parent | 5501b8c228f1a28809702edc65c52a2f4560d956 (diff) |
adc1213x.cpp : Simplify handlers
Diffstat (limited to 'src/devices/machine/adc1213x.h')
-rw-r--r-- | src/devices/machine/adc1213x.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/machine/adc1213x.h b/src/devices/machine/adc1213x.h index f8dc4f9dd4c..985659be2e3 100644 --- a/src/devices/machine/adc1213x.h +++ b/src/devices/machine/adc1213x.h @@ -36,12 +36,12 @@ public: set_ipt_convert_callback(ipt_convert_delegate(callback, name, nullptr, static_cast<FunctionClass *>(nullptr))); } - DECLARE_WRITE8_MEMBER( di_w ); - DECLARE_WRITE8_MEMBER( cs_w ); - DECLARE_WRITE8_MEMBER( sclk_w ); - DECLARE_WRITE8_MEMBER( conv_w ); - DECLARE_READ8_MEMBER( do_r ); - DECLARE_READ8_MEMBER( eoc_r ); + void di_w(u8 data); + void cs_w(u8 data); + void sclk_w(u8 data); + void conv_w(u8 data = 0); + u8 do_r(); + u8 eoc_r(); protected: adc12138_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); |