summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ds1302.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/ds1302.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/ds1302.h')
-rw-r--r--src/devices/machine/ds1302.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/ds1302.h b/src/devices/machine/ds1302.h
index 9b1d09e9840..8040f37075e 100644
--- a/src/devices/machine/ds1302.h
+++ b/src/devices/machine/ds1302.h
@@ -34,7 +34,7 @@ class ds1302_device : public device_t,
{
public:
// construction/destruction
- ds1302_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ds1302_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
DECLARE_WRITE_LINE_MEMBER( ce_w );
DECLARE_WRITE_LINE_MEMBER( sclk_w );
@@ -42,7 +42,7 @@ public:
DECLARE_READ_LINE_MEMBER( io_r );
protected:
- ds1302_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, uint8_t ram_size);
+ ds1302_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, uint8_t ram_size);
// device-level overrides
virtual void device_start() override;
@@ -88,7 +88,7 @@ class ds1202_device : public ds1302_device
{
public:
// construction/destruction
- ds1202_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ds1202_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};