/* dv-m68hc11spi.c -- Simulation of the 68HC11 SPI
- Copyright (C) 2000, 2002, 2003, 2007, 2008, 2009
- Free Software Foundation, Inc.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
Written by Stephane Carrez (stcarrez@nerim.fr)
(From a driver model Contributed by Cygnus Solutions.)
{
SIM_DESC sd;
struct m68hc11spi *controller;
- sim_cpu* cpu;
+ sim_cpu *cpu;
unsigned8 val;
controller = hw_data (me);
#define SPI_START_BIT 1
#define SPI_MIDDLE_BIT 2
-void
+static void
m68hc11spi_clock (struct hw *me, void *data)
{
SIM_DESC sd;