summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/adc1213x.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-16 12:47:52 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-29 23:06:41 +0200
commit45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch)
tree4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/machine/adc1213x.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/adc1213x.h')
-rw-r--r--src/devices/machine/adc1213x.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/adc1213x.h b/src/devices/machine/adc1213x.h
index 7d3f69caccd..d03d704a94e 100644
--- a/src/devices/machine/adc1213x.h
+++ b/src/devices/machine/adc1213x.h
@@ -24,7 +24,7 @@ class adc12138_device : public device_t
public:
typedef device_delegate<double (uint8_t input)> ipt_convert_delegate;
- adc12138_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ adc12138_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
template <typename... T> void set_ipt_convert_callback(T &&... args) { m_ipt_read_cb.set(std::forward<T>(args)...); }
@@ -36,7 +36,7 @@ public:
u8 eoc_r();
protected:
- adc12138_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ adc12138_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// device-level overrides
virtual void device_start() override;
@@ -65,14 +65,14 @@ private:
class adc12130_device : public adc12138_device
{
public:
- adc12130_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ adc12130_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class adc12132_device : public adc12138_device
{
public:
- adc12132_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ adc12132_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};