BlueNinja BSP  0.5
Cerevo BlueNinja(CDP-TZ01B) Board Support Packageリファレンスマニュアル
TZ01_airpressure.c ファイル

Airpressure sensor library for Cerevo CDP-TZ01B. [詳解]

#include <stdint.h>
#include <stdbool.h>
#include "TZ10xx.h"
#include "Driver_I2C.h"
#include "BMP280.h"
#include "TZ01_airpressure.h"

関数

bool TZ01_airpressure_init (void)
 Initialize the airpressure sensor library. [詳解]
 
float TZ01_airpressure_temp_read (void)
 Read temperature value. [詳解]
 
float TZ01_airpressure_press_read (void)
 Read airpressure value. [詳解]
 

変数

ARM_DRIVER_I2C Driver_I2C1
 

詳解

Airpressure sensor library for Cerevo CDP-TZ01B.

著者
Cerevo Inc.

関数詳解

bool TZ01_airpressure_init ( void  )

Initialize the airpressure sensor library.

戻り値
Initiaize result.
戻り値
trueSuccess.
falseFailed.
覚え書き
float TZ01_airpressure_press_read ( void  )

Read airpressure value.

戻り値
The read airpressur value.(UNIT is `Pa')
float TZ01_airpressure_temp_read ( void  )

Read temperature value.

戻り値
The read temperature value.(Uinit is `digree Celsius')

変数詳解

ARM_DRIVER_I2C Driver_I2C1

Includes