LibDriver SPS30
Loading...
Searching...
No Matches
driver_sps30_basic.c File Reference

driver sps30 basic source file More...

Include dependency graph for driver_sps30_basic.c:

Go to the source code of this file.

Functions

uint8_t sps30_basic_init (sps30_interface_t interface)
 basic example init
uint8_t sps30_basic_deinit (void)
 basic example deinit
uint8_t sps30_basic_read (sps30_pm_t *pm)
 basic example read
uint8_t sps30_basic_start_fan_cleaning (void)
 basic example start fan cleaning
uint8_t sps30_basic_reset (void)
 basic example reset
uint8_t sps30_basic_sleep (void)
 basic example sleep
uint8_t sps30_basic_wake_up (void)
 basic example wake up
uint8_t sps30_basic_get_product_type (char type[9])
 basic example get the product type
uint8_t sps30_basic_get_serial_number (char sn[17])
 basic example get the serial number
uint8_t sps30_basic_get_version (uint8_t *major, uint8_t *minor)
 basic example get the version
uint8_t sps30_basic_get_status (uint32_t *status)
 basic example get the status

Detailed Description

driver sps30 basic source file

Copyright (c) 2015 - present LibDriver All rights reserved

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version
1.0.0
Author
Shifeng Li
Date
2021-07-25

history

Date Version Author Description
2021/07/25 1.0 Shifeng Li first upload

Definition in file driver_sps30_basic.c.