LibDriver AFS01
Loading...
Searching...
No Matches
afs01 example driver function

afs01 example driver modules More...

Collaboration diagram for afs01 example driver function:

Functions

uint8_t afs01_basic_init (void)
 basic example init
uint8_t afs01_basic_deinit (void)
 basic example deinit
uint8_t afs01_basic_read (float *sccm)
 basic example read
uint8_t afs01_basic_get_chip_id (uint8_t id[4])
 basic example get chip id

Detailed Description

afs01 example driver modules

Function Documentation

◆ afs01_basic_deinit()

uint8_t afs01_basic_deinit ( void )

basic example deinit

Returns
status code
  • 0 success
  • 1 deinit failed
Note
none

Definition at line 124 of file driver_afs01_basic.c.

Here is the call graph for this function:

◆ afs01_basic_get_chip_id()

uint8_t afs01_basic_get_chip_id ( uint8_t id[4])

basic example get chip id

Parameters
[out]*idpointer to an id buffer
Returns
status code
  • 0 success
  • 1 get chip id failed
Note
none

Definition at line 103 of file driver_afs01_basic.c.

Here is the call graph for this function:

◆ afs01_basic_init()

uint8_t afs01_basic_init ( void )

basic example init

Returns
status code
  • 0 success
  • 1 init failed
Note
none

Definition at line 48 of file driver_afs01_basic.c.

Here is the call graph for this function:

◆ afs01_basic_read()

uint8_t afs01_basic_read ( float * sccm)

basic example read

Parameters
[out]*sccmpointer to a converted data buffer
Returns
status code
  • 0 success
  • 1 read data failed
Note
none

Definition at line 80 of file driver_afs01_basic.c.

Here is the call graph for this function: