summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/bq4847.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/bq4847.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/bq4847.h')
-rw-r--r--src/devices/machine/bq4847.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/bq4847.h b/src/devices/machine/bq4847.h
index 2658e207962..590c2b43aa6 100644
--- a/src/devices/machine/bq4847.h
+++ b/src/devices/machine/bq4847.h
@@ -20,7 +20,7 @@ class bq4847_device : public device_t,
public device_rtc_interface
{
public:
- bq4847_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ bq4847_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
auto wdo_handler() { return m_wdo_handler.bind(); }
auto int_handler() { return m_int_handler.bind(); }
@@ -32,7 +32,7 @@ public:
DECLARE_WRITE_LINE_MEMBER(write_wdi); // watchdog disabled if wdi pin is left floating
protected:
- bq4847_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock = 32768);
+ bq4847_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock = XTAL::u(32768));
// device_t
virtual void device_start() override;
@@ -89,7 +89,7 @@ private:
class bq4845_device : public bq4847_device
{
public:
- bq4845_device(const machine_config& mconfig, const char* tag, device_t* owner, uint32_t clock);
+ bq4845_device(const machine_config& mconfig, const char* tag, device_t* owner, const XTAL &clock);
};
DECLARE_DEVICE_TYPE(BQ4845, bq4845_device)