summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8_timer8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h8_timer8.h')
-rw-r--r--src/devices/cpu/h8/h8_timer8.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/cpu/h8/h8_timer8.h b/src/devices/cpu/h8/h8_timer8.h
index 0ab4055ea38..d4919dddce0 100644
--- a/src/devices/cpu/h8/h8_timer8.h
+++ b/src/devices/cpu/h8/h8_timer8.h
@@ -35,8 +35,8 @@ public:
DIV
};
- h8_timer8_channel_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- h8_timer8_channel_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ h8_timer8_channel_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ h8_timer8_channel_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source);
void set_info(const char *intc, int irq_ca, int irq_cb, int irq_v, int div1, int div2, int div3, int div4, int div5, int div6);
@@ -49,7 +49,7 @@ public:
DECLARE_READ8_MEMBER(tcnt_r);
DECLARE_WRITE8_MEMBER(tcnt_w);
- UINT64 internal_update(UINT64 current_time);
+ uint64_t internal_update(uint64_t current_time);
void set_extra_clock_bit(bool bit);
void chained_timer_overflow();
@@ -83,17 +83,17 @@ protected:
const char *chain_tag, *intc_tag;
int irq_ca, irq_cb, irq_v, chain_type;
int div_tab[6];
- UINT8 tcor[2];
- UINT8 tcr, tcsr, tcnt;
+ uint8_t tcor[2];
+ uint8_t tcr, tcsr, tcnt;
bool extra_clock_bit, has_adte, has_ice;
int clock_type, clock_divider, clear_type, counter_cycle;
- UINT64 last_clock_update, event_time;
+ uint64_t last_clock_update, event_time;
virtual void device_start() override;
virtual void device_reset() override;
- void update_counter(UINT64 cur_time = 0);
- void recalc_event(UINT64 cur_time = 0);
+ void update_counter(uint64_t cur_time = 0);
+ void recalc_event(uint64_t cur_time = 0);
void timer_tick();
void update_tcr();
@@ -101,7 +101,7 @@ protected:
class h8h_timer8_channel_device : public h8_timer8_channel_device {
public:
- h8h_timer8_channel_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ h8h_timer8_channel_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
virtual ~h8h_timer8_channel_device();
void set_info(const char *intc, int irq_ca, int irq_cb, int irq_v, const char *chain_tag, int chain_type, bool has_adte, bool has_ice);