File xensiv_pasco2.h¶
↰ Parent directory (src)
Contents
Definition (src/xensiv_pasco2.h)¶
Detailed Description¶
Description: This file contains the functions for interacting with the XENSIV™ PAS CO2 sensor. Copyright 2021 Infineon Technologies AG SPDX-License-Identifier: Apache-2.0 Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Description: This file constains the exact version of the XENSIV™ PAS CO2 sensor obtained from https://github.com/Infineon/sensor-xensiv-pasco2. Copyright 2021 Infineon Technologies AG SPDX-License-Identifier: Apache-2.0 Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Includes¶
stdbool.hstddef.hstdint.hxensiv_pasco2_regs.h(File xensiv_pasco2_regs.h)
Included By¶
Classes¶
Enums¶
Functions¶
Function xensiv_pasco2_clear_measurement_status(const xensiv_pasco2_t *, uint8_t)
Function xensiv_pasco2_clear_status(const xensiv_pasco2_t *, uint8_t)
Function xensiv_pasco2_cmd(const xensiv_pasco2_t *, xensiv_pasco2_cmd_t)
Function xensiv_pasco2_get_id(const xensiv_pasco2_t *, xensiv_pasco2_id_t *)
Function xensiv_pasco2_get_reg(const xensiv_pasco2_t *, uint8_t, uint8_t *, uint8_t)
Function xensiv_pasco2_get_result(const xensiv_pasco2_t *, uint16_t *)
Function xensiv_pasco2_get_scratch_pad(const xensiv_pasco2_t *, uint8_t *)
Function xensiv_pasco2_get_status(const xensiv_pasco2_t *, xensiv_pasco2_status_t *)
Function xensiv_pasco2_perform_forced_compensation(const xensiv_pasco2_t *, uint16_t)
Function xensiv_pasco2_plat_uart_read(void *, uint8_t *, size_t)
Function xensiv_pasco2_plat_uart_write(void *, uint8_t *, size_t)
Function xensiv_pasco2_set_alarm_threshold(const xensiv_pasco2_t *, uint16_t)
Function xensiv_pasco2_set_measurement_rate(const xensiv_pasco2_t *, uint16_t)
Function xensiv_pasco2_set_offset_compensation(const xensiv_pasco2_t *, uint16_t)
Function xensiv_pasco2_set_pressure_compensation(const xensiv_pasco2_t *, uint16_t)
Function xensiv_pasco2_set_reg(const xensiv_pasco2_t *, uint8_t, const uint8_t *, uint8_t)
Function xensiv_pasco2_set_scratch_pad(const xensiv_pasco2_t *, uint8_t)
Function xensiv_pasco2_start_continuous_mode(const xensiv_pasco2_t *, uint16_t)
Function xensiv_pasco2_start_single_mode(const xensiv_pasco2_t *)