LibDriver SEN5X
Loading...
Searching...
No Matches
driver_sen5x_basic.c File Reference

driver sen5x basic source file More...

Include dependency graph for driver_sen5x_basic.c:

Go to the source code of this file.

Functions

uint8_t sen5x_basic_init (sen5x_type_t type)
 basic example init
uint8_t sen5x_basic_deinit (void)
 basic example deinit
uint8_t sen55_basic_read_raw_value (sen5x_raw_t *raw)
 basic example read raw value
uint8_t sen55_basic_read_pm_value (sen5x_pm_t *pm)
 basic example read pm value
uint8_t sen55_basic_read (sen55_data_t *output)
 basic example read
uint8_t sen54_basic_read (sen54_data_t *output)
 basic example read
uint8_t sen50_basic_read (sen50_data_t *output)
 basic example read
uint8_t sen5x_basic_start_fan_cleaning (void)
 basic example start fan cleaning
uint8_t sen5x_basic_reset (void)
 basic example reset
uint8_t sen5x_basic_get_product_name (char name[32])
 basic example get the product name
uint8_t sen5x_basic_get_serial_number (char sn[32])
 basic example get the serial number
uint8_t sen5x_basic_get_version (uint8_t *version)
 basic example get the version
uint8_t sen5x_basic_get_status (uint32_t *status)
 basic example get the status

Detailed Description

driver sen5x 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
2025-06-15

history

Date Version Author Description
2025/06/15 1.0 Shifeng Li first upload

Definition in file driver_sen5x_basic.c.