summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ds1315.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ds1315.cpp')
-rw-r--r--src/devices/machine/ds1315.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/ds1315.cpp b/src/devices/machine/ds1315.cpp
index e9c984e4716..ca07dfcd24e 100644
--- a/src/devices/machine/ds1315.cpp
+++ b/src/devices/machine/ds1315.cpp
@@ -27,7 +27,7 @@
const device_type DS1315 = &device_creator<ds1315_device>;
-ds1315_device::ds1315_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ds1315_device::ds1315_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, DS1315, "Dallas Semiconductor DS1315", tag, owner, clock, "ds1315", __FILE__), m_mode(), m_count(0)
{
}
@@ -69,7 +69,7 @@ void ds1315_device::device_reset()
LOCAL VARIABLES
***************************************************************************/
-static const UINT8 ds1315_pattern[] =
+static const uint8_t ds1315_pattern[] =
{
1, 0, 1, 0, 0, 0, 1, 1,
0, 1, 0, 1, 1, 1, 0, 0,
@@ -135,7 +135,7 @@ READ8_MEMBER( ds1315_device::read_1 )
READ8_MEMBER( ds1315_device::read_data )
{
- UINT8 result;
+ uint8_t result;
if (m_mode == DS_CALENDAR_IO)
{
@@ -233,7 +233,7 @@ void ds1315_device::input_raw_data()
{
int raw[8], i, j;
raw[0] = raw[1] = raw[2] = raw[3] = raw[4] = raw[5] = raw[6] = raw[7] = 0;
- UINT8 flag = 1;
+ uint8_t flag = 1;
for (i = 0; i < 64; i++)
{