dev_mk48txx.cc File Reference

Back to the index.

Classes | Macros | Functions
dev_mk48txx.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "cpu.h"
#include "device.h"
#include "emul.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "thirdparty/mk48txxreg.h"

Go to the source code of this file.

Classes

struct  mk48txx_data
 

Macros

#define MK48TXX_LEN   MK48T08_CLKSZ
 
#define BCD(x)   ((((x) / 10) << 4) + ((x) % 10))
 

Functions

void mk48txx_update_regs (struct mk48txx_data *d)
 
 DEVICE_ACCESS (mk48txx)
 
 DEVINIT (mk48txx)
 

Macro Definition Documentation

◆ BCD

#define BCD (   x)    ((((x) / 10) << 4) + ((x) % 10))

Definition at line 51 of file dev_mk48txx.cc.

Referenced by mk48txx_update_regs().

◆ MK48TXX_LEN

#define MK48TXX_LEN   MK48T08_CLKSZ

Definition at line 49 of file dev_mk48txx.cc.

Referenced by DEVINIT().

Function Documentation

◆ DEVICE_ACCESS()

DEVICE_ACCESS ( mk48txx  )

◆ DEVINIT()

DEVINIT ( mk48txx  )

◆ mk48txx_update_regs()

void mk48txx_update_regs ( struct mk48txx_data d)

Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13