summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h83032.h
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2024-02-14 21:31:37 +0100
committer hap <happppp@users.noreply.github.com>2024-02-14 21:31:37 +0100
commit863e5496e2a69e2e4d745baa178673a47a298791 (patch)
tree4076796409481563c7a0becdc785c0fb322f11e5 /src/devices/cpu/h8/h83032.h
parente759f776beb92864929455db868db2f895117a18 (diff)
m6800,h8: shorthand variable types
Diffstat (limited to 'src/devices/cpu/h8/h83032.h')
-rw-r--r--src/devices/cpu/h8/h83032.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/cpu/h8/h83032.h b/src/devices/cpu/h8/h83032.h
index e979c42510a..fcd03d02728 100644
--- a/src/devices/cpu/h8/h83032.h
+++ b/src/devices/cpu/h8/h83032.h
@@ -29,7 +29,7 @@
class h83032_device : public h8h_device {
public:
- h83032_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ h83032_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
auto read_port1() { return m_read_port [PORT_1].bind(); }
auto write_port1() { return m_write_port[PORT_1].bind(); }
@@ -51,11 +51,11 @@ public:
auto read_portb() { return m_read_port [PORT_B].bind(); }
auto write_portb() { return m_write_port[PORT_B].bind(); }
- uint8_t syscr_r();
- void syscr_w(uint8_t data);
+ u8 syscr_r();
+ void syscr_w(u8 data);
protected:
- h83032_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, uint32_t start);
+ h83032_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, u32 start);
required_device<h8h_intc_device> m_intc;
required_device<h8_adc_device> m_adc;
@@ -78,14 +78,14 @@ protected:
required_device<h8h_timer16_channel_device> m_timer16_4;
required_device<h8_watchdog_device> m_watchdog;
- uint32_t m_ram_start;
- uint8_t m_syscr;
+ u32 m_ram_start;
+ u8 m_syscr;
virtual void update_irq_filter() override;
virtual void interrupt_taken() override;
virtual int trapa_setup() override;
virtual void irq_setup() override;
- virtual void internal_update(uint64_t current_time) override;
+ virtual void internal_update(u64 current_time) override;
virtual void device_add_mconfig(machine_config &config) override;
void map(address_map &map);
@@ -96,12 +96,12 @@ protected:
class h83031_device : public h83032_device {
public:
- h83031_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ h83031_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
};
class h83030_device : public h83032_device {
public:
- h83030_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ h83030_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
};
DECLARE_DEVICE_TYPE(H83032, h83032_device)