You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
354 B
16 lines
354 B
1 year ago
|
#ifndef __DRV_L1_GSENSOR_H__
|
||
|
#define __DRV_L1_GSENSOR_H__
|
||
|
|
||
|
extern void sw_i2c_lock(void);
|
||
|
extern void sw_i2c_unlock(void);
|
||
|
|
||
|
extern void I2C_delay (INT16U i) ;
|
||
|
extern void I2C_start (void);
|
||
|
extern void I2C_stop (void);
|
||
|
extern void I2C_w_phase (INT16U value);
|
||
|
extern INT16U I2C_r_phase (void);
|
||
|
extern void I2C_gpio_init (INT32U nSCL,INT32U nSDA);
|
||
|
|
||
|
|
||
|
#endif
|