firmware  v0.1.2
Chromation Spectrometer Dev-Kit
Functions
Lis_faked.c File Reference

Faked calls record themselves in mock. More...

#include "Lis_faked.h"
#include "Mock.h"
#include "Lis.h"

Go to the source code of this file.

Functions

static RecordedCallRecord_LisReadout (uint16_t arg1)
 
void LisReadout_fake (uint16_t num_pixels)
 
static RecordedCallRecord_LisExpose (void)
 
void LisExpose_fake (void)
 
static RecordedCallRecord_LisWriteConfig (void)
 
void LisWriteConfig_fake (void)
 
static RecordedCallRecord__ConfigAs28bits (uint8_t *arg1)
 
void _ConfigAs28bits_fake (uint8_t *config)
 
static RecordedCallRecord__WaitForLisClkLow (void)
 
void _WaitForLisClkLow_fake (void)
 
static RecordedCallRecord__WaitForLisClkHigh (void)
 
void _WaitForLisClkHigh_fake (void)
 
static RecordedCallRecord__EnterLisProgrammingMode (void)
 
void _EnterLisProgrammingMode_fake (void)
 
static RecordedCallRecord__WriteLisConfigBit (uint8_t *arg1, uint8_t arg2)
 
void _WriteLisConfigBit_fake (uint8_t const *config, uint8_t bit_index)
 
static RecordedCallRecord__Write28bitLisConfig (uint8_t *arg1)
 
void _Write28bitLisConfig_fake (uint8_t *config)
 
static RecordedCallRecord__ExitLisProgrammingMode (void)
 
void _ExitLisProgrammingMode_fake (void)
 

Detailed Description

Faked calls record themselves in mock.


Tests access mock to see what the function under test does:

Definition in file Lis_faked.c.

Function Documentation

◆ _ConfigAs28bits_fake()

void _ConfigAs28bits_fake ( uint8_t *  config)

Fake records calls made by function under test.

Record:

  • call name
  • arg1

Definition at line 102 of file Lis_faked.c.

◆ _EnterLisProgrammingMode_fake()

void _EnterLisProgrammingMode_fake ( void  )

Fake records calls made by function under test.

Record:

  • call name

Definition at line 148 of file Lis_faked.c.

◆ _ExitLisProgrammingMode_fake()

void _ExitLisProgrammingMode_fake ( void  )

Fake records calls made by function under test.

Record:

  • call name

Definition at line 212 of file Lis_faked.c.

◆ _WaitForLisClkHigh_fake()

void _WaitForLisClkHigh_fake ( void  )

Fake records calls made by function under test.

Record:

  • call name

Definition at line 133 of file Lis_faked.c.

◆ _WaitForLisClkLow_fake()

void _WaitForLisClkLow_fake ( void  )

Fake records calls made by function under test.

Record:

  • call name

Definition at line 118 of file Lis_faked.c.

◆ _Write28bitLisConfig_fake()

void _Write28bitLisConfig_fake ( uint8_t *  config)

Fake records calls made by function under test.

Record:

  • call name
  • arg1

Definition at line 196 of file Lis_faked.c.

◆ _WriteLisConfigBit_fake()

void _WriteLisConfigBit_fake ( uint8_t const *  config,
uint8_t  bit_index 
)

Fake records calls made by function under test.

Record:

  • call name
  • arg1
  • arg2

Definition at line 170 of file Lis_faked.c.

◆ LisExpose_fake()

void LisExpose_fake ( void  )

Fake records calls made by function under test.

Record:

  • call name

Definition at line 68 of file Lis_faked.c.

◆ LisReadout_fake()

void LisReadout_fake ( uint16_t  num_pixels)

Fake records calls made by function under test.

Record:

  • call name
  • arg1

Definition at line 52 of file Lis_faked.c.

◆ LisWriteConfig_fake()

void LisWriteConfig_fake ( void  )

Fake records calls made by function under test.

Record:

  • call name

Definition at line 83 of file Lis_faked.c.