LibDriver CCS811
Loading...
Searching...
No Matches
ccs811 test driver function

ccs811 test driver modules More...

Collaboration diagram for ccs811 test driver function:

Functions

uint8_t ccs811_interrupt_test (ccs811_address_t addr_pin, uint16_t low_medium_ppm, uint16_t medium_high_ppm, uint8_t hysteresis, uint32_t times)
 interrupt test
uint8_t ccs811_read_test (ccs811_address_t addr_pin, uint32_t times)
 read test
uint8_t ccs811_register_test (ccs811_address_t addr_pin)
 register test
uint8_t ccs811_update_test (ccs811_address_t addr_pin, char *path)
 update test

Detailed Description

ccs811 test driver modules

Function Documentation

◆ ccs811_interrupt_test()

uint8_t ccs811_interrupt_test ( ccs811_address_t addr_pin,
uint16_t low_medium_ppm,
uint16_t medium_high_ppm,
uint8_t hysteresis,
uint32_t times )

interrupt test

Parameters
[in]addr_pinaddress pin
[in]low_medium_ppmlow to medium threshold in ppm
[in]medium_high_ppmmedium to high threshold in ppm
[in]hysteresisinput hysteresis
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 53 of file driver_ccs811_interrupt_test.c.

Here is the call graph for this function:

◆ ccs811_read_test()

uint8_t ccs811_read_test ( ccs811_address_t addr_pin,
uint32_t times )

read test

Parameters
[in]addr_pinaddress pin
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 50 of file driver_ccs811_read_test.c.

Here is the call graph for this function:

◆ ccs811_register_test()

uint8_t ccs811_register_test ( ccs811_address_t addr_pin)

register test

Parameters
[in]addr_pinaddress pin
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 50 of file driver_ccs811_register_test.c.

Here is the call graph for this function:

◆ ccs811_update_test()

uint8_t ccs811_update_test ( ccs811_address_t addr_pin,
char * path )

update test

Parameters
[in]addr_pinaddress pin
[in]*pathpointer a path buffer
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 50 of file driver_ccs811_update_test.c.

Here is the call graph for this function: