37 #include "SpiSlave_faked.h"
39 #include "ReadWriteBits.h"
43 static RecordedCall * Record_SpiSlaveTxByte(uint8_t arg1)
45 char const *call_name =
"SpiSlaveTxByte";
46 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
47 RecordedArg *record_of_arg1 = RecordedArg_new(SetupRecord_uint8_t);
48 *((uint8_t *)record_of_arg1->pArg) = arg1;
50 RecordArg(record_of_this_call, record_of_arg1);
51 return record_of_this_call;
59 RecordActualCall(mock, Record_SpiSlaveTxByte(input_byte));
65 char const *call_name =
"EnableSpiInterrupt";
66 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
67 return record_of_this_call;
74 RecordActualCall(mock, Record_EnableSpiInterrupt());
80 char const *call_name =
"_SignalDataReady";
81 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
82 return record_of_this_call;
89 RecordActualCall(mock, Record__SignalDataReady());
95 char const *call_name =
"DisableSpiInterrupt";
96 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
97 return record_of_this_call;
104 RecordActualCall(mock, Record_DisableSpiInterrupt());
void _SignalDataReady_fake(void)
void SpiSlaveTxByte_fake(uint8_t input_byte)
void EnableSpiInterrupt_fake(void)
void DisableSpiInterrupt_fake(void)