summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/upd1990a.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/upd1990a.h')
-rw-r--r--src/emu/machine/upd1990a.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/emu/machine/upd1990a.h b/src/emu/machine/upd1990a.h
index 8b7c7b21599..7078ed9569e 100644
--- a/src/emu/machine/upd1990a.h
+++ b/src/emu/machine/upd1990a.h
@@ -38,7 +38,7 @@
//**************************************************************************
#define MCFG_UPD1990A_ADD(_tag, _clock, _config) \
- MCFG_DEVICE_ADD((_tag), UPD1990A, _clock) \
+ MCFG_DEVICE_ADD((_tag), UPD1990A, _clock) \
MCFG_DEVICE_CONFIG(_config)
#define UPD1990A_INTERFACE(name) \
@@ -54,19 +54,19 @@
struct upd1990a_interface
{
- devcb_write_line m_out_data_cb;
- devcb_write_line m_out_tp_cb;
+ devcb_write_line m_out_data_cb;
+ devcb_write_line m_out_tp_cb;
};
// ======================> upd1990a_device
-class upd1990a_rtc_device : public device_t,
- public device_rtc_interface,
- public upd1990a_interface
+class upd1990a_rtc_device : public device_t,
+ public device_rtc_interface,
+ public upd1990a_interface
{
public:
- // construction/destruction
+ // construction/destruction
upd1990a_rtc_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock);
DECLARE_WRITE_LINE_MEMBER( oe_w );
@@ -81,10 +81,10 @@ public:
DECLARE_READ_LINE_MEMBER( tp_r );
protected:
- // device-level overrides
+ // device-level overrides
virtual void device_config_complete();
- virtual void device_start();
- virtual void device_reset();
+ virtual void device_start();
+ virtual void device_reset();
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
// device_rtc_interface overrides
@@ -101,21 +101,21 @@ private:
static const device_timer_id TIMER_DATA_OUT = 2;
static const device_timer_id TIMER_TEST_MODE = 3;
- devcb_resolved_write_line m_out_data_func;
- devcb_resolved_write_line m_out_tp_func;
-
- UINT8 m_time_counter[5]; // time counter
- UINT8 m_shift_reg[5]; // shift register
-
- int m_oe; // output enable
- int m_cs; // chip select
- int m_stb; // strobe
- int m_data_in; // data in
- int m_data_out; // data out
- int m_c; // command
- int m_clk; // shift clock
- int m_tp; // time pulse
- int m_c_unlatched; // command waiting for STB
+ devcb_resolved_write_line m_out_data_func;
+ devcb_resolved_write_line m_out_tp_func;
+
+ UINT8 m_time_counter[5]; // time counter
+ UINT8 m_shift_reg[5]; // shift register
+
+ int m_oe; // output enable
+ int m_cs; // chip select
+ int m_stb; // strobe
+ int m_data_in; // data in
+ int m_data_out; // data out
+ int m_c; // command
+ int m_clk; // shift clock
+ int m_tp; // time pulse
+ int m_c_unlatched; // command waiting for STB
// timers
emu_timer *m_timer_clock;