LibDriver MCP9600
Loading...
Searching...
No Matches
mcp9600 test driver function

mcp9600 test driver modules More...

Collaboration diagram for mcp9600 test driver function:

Functions

uint8_t mcp9600_interrupt_test (mcp9600_address_t addr_pin, mcp9600_thermocouple_type_t type)
 interrupt test
uint8_t mcp9600_read_test (mcp9600_address_t addr_pin, mcp9600_thermocouple_type_t type, uint32_t times)
 read test
uint8_t mcp9600_register_test (mcp9600_address_t addr_pin)
 register test

Detailed Description

mcp9600 test driver modules

Function Documentation

◆ mcp9600_interrupt_test()

uint8_t mcp9600_interrupt_test ( mcp9600_address_t addr_pin,
mcp9600_thermocouple_type_t type )

interrupt test

Parameters
[in]addr_piniic device address
[in]typethermocouple type
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 50 of file driver_mcp9600_interrupt_test.c.

Here is the call graph for this function:

◆ mcp9600_read_test()

uint8_t mcp9600_read_test ( mcp9600_address_t addr_pin,
mcp9600_thermocouple_type_t type,
uint32_t times )

read test

Parameters
[in]addr_piniic device address
[in]typethermocouple type
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 51 of file driver_mcp9600_read_test.c.

Here is the call graph for this function:

◆ mcp9600_register_test()

uint8_t mcp9600_register_test ( mcp9600_address_t addr_pin)

register test

Parameters
[in]addr_piniic device address
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 50 of file driver_mcp9600_register_test.c.

Here is the call graph for this function: