37 #include "Lis_faked.h"
44 char const *call_name =
"LisReadout";
45 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
46 RecordedArg *record_of_arg1 = RecordedArg_new(SetupRecord_uint16_t);
47 *((uint16_t *)record_of_arg1->pArg) = arg1;
49 RecordArg(record_of_this_call, record_of_arg1);
50 return record_of_this_call;
58 RecordActualCall(mock, Record_LisReadout(num_pixels));
64 char const *call_name =
"LisExpose";
65 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
66 return record_of_this_call;
73 RecordActualCall(mock, Record_LisExpose());
79 char const *call_name =
"LisWriteConfig";
80 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
81 return record_of_this_call;
88 RecordActualCall(mock, Record_LisWriteConfig());
92 static RecordedCall * Record__ConfigAs28bits(uint8_t * arg1)
94 char const *call_name =
"_ConfigAs28bits";
95 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
96 RecordedArg *record_of_arg1 = RecordedArg_new(SetupRecord_p_uint8_t);
97 *((uint8_t **)record_of_arg1->pArg) = arg1;
99 RecordArg(record_of_this_call, record_of_arg1);
100 return record_of_this_call;
108 RecordActualCall(mock, Record__ConfigAs28bits(config));
114 char const *call_name =
"_WaitForLisClkLow";
115 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
116 return record_of_this_call;
123 RecordActualCall(mock, Record__WaitForLisClkLow());
129 char const *call_name =
"_WaitForLisClkHigh";
130 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
131 return record_of_this_call;
138 RecordActualCall(mock, Record__WaitForLisClkHigh());
142 static RecordedCall * Record__EnterLisProgrammingMode(
void)
144 char const *call_name =
"_EnterLisProgrammingMode";
145 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
146 return record_of_this_call;
153 RecordActualCall(mock, Record__EnterLisProgrammingMode());
157 static RecordedCall * Record__WriteLisConfigBit(uint8_t * arg1, uint8_t arg2)
159 char const *call_name =
"_WriteLisConfigBit";
160 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
161 RecordedArg *record_of_arg1 = RecordedArg_new(SetupRecord_p_uint8_t);
162 RecordedArg *record_of_arg2 = RecordedArg_new(SetupRecord_uint8_t);
163 *((uint8_t **)record_of_arg1->pArg) = arg1;
164 *((uint8_t *)record_of_arg2->pArg) = arg2;
166 RecordArg(record_of_this_call, record_of_arg1);
167 RecordArg(record_of_this_call, record_of_arg2);
168 return record_of_this_call;
177 RecordActualCall(mock, Record__WriteLisConfigBit
186 static RecordedCall * Record__Write28bitLisConfig(uint8_t * arg1)
188 char const *call_name =
"_Write28bitLisConfig";
189 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
190 RecordedArg *record_of_arg1 = RecordedArg_new(SetupRecord_p_uint8_t);
191 *((uint8_t **)record_of_arg1->pArg) = arg1;
193 RecordArg(record_of_this_call, record_of_arg1);
194 return record_of_this_call;
202 RecordActualCall(mock, Record__Write28bitLisConfig(config));
206 static RecordedCall * Record__ExitLisProgrammingMode(
void)
208 char const *call_name =
"_ExitLisProgrammingMode";
209 RecordedCall *record_of_this_call = RecordedCall_new(call_name);
210 return record_of_this_call;
217 RecordActualCall(mock, Record__ExitLisProgrammingMode());
void LisReadout_fake(uint16_t num_pixels)
void _EnterLisProgrammingMode_fake(void)
void _WriteLisConfigBit_fake(uint8_t const *config, uint8_t bit_index)
void LisWriteConfig_fake(void)
void _Write28bitLisConfig_fake(uint8_t *config)
void _WaitForLisClkHigh_fake(void)
void _ConfigAs28bits_fake(uint8_t *config)
void _WaitForLisClkLow_fake(void)
void LisExpose_fake(void)
void _ExitLisProgrammingMode_fake(void)