summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/pic16c5x/pic16c5x.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/cpu/pic16c5x/pic16c5x.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/cpu/pic16c5x/pic16c5x.h')
-rw-r--r--src/devices/cpu/pic16c5x/pic16c5x.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/cpu/pic16c5x/pic16c5x.h b/src/devices/cpu/pic16c5x/pic16c5x.h
index 177b9cae7a2..0ae1176a66c 100644
--- a/src/devices/cpu/pic16c5x/pic16c5x.h
+++ b/src/devices/cpu/pic16c5x/pic16c5x.h
@@ -79,7 +79,7 @@ public:
void rom_9(address_map &map);
protected:
// construction/destruction
- pic16c5x_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, int program_width, int data_width, int picmodel);
+ pic16c5x_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int program_width, int data_width, int picmodel);
// device-level overrides
virtual void device_start() override;
@@ -226,7 +226,7 @@ class pic16c54_device : public pic16c5x_device
{
public:
// construction/destruction
- pic16c54_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ pic16c54_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
@@ -234,7 +234,7 @@ class pic16c55_device : public pic16c5x_device
{
public:
// construction/destruction
- pic16c55_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ pic16c55_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
@@ -242,7 +242,7 @@ class pic16c56_device : public pic16c5x_device
{
public:
// construction/destruction
- pic16c56_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ pic16c56_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
@@ -250,7 +250,7 @@ class pic16c57_device : public pic16c5x_device
{
public:
// construction/destruction
- pic16c57_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ pic16c57_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
@@ -258,7 +258,7 @@ class pic16c58_device : public pic16c5x_device
{
public:
// construction/destruction
- pic16c58_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ pic16c58_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
@@ -266,14 +266,14 @@ class pic1650_device : public pic16c5x_device
{
public:
// construction/destruction
- pic1650_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ pic1650_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class pic1654s_device : public pic16c5x_device
{
public:
// construction/destruction
- pic1654s_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ pic1654s_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// 1654S has a /8 clock divider instead of the typical /4
@@ -285,7 +285,7 @@ class pic1655_device : public pic16c5x_device
{
public:
// construction/destruction
- pic1655_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ pic1655_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
#endif // MAME_CPU_PIC16C5X_PIC16C5X_H