shit
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#ifndef MLX90614_H
|
||||
#define MLX90614_H
|
||||
|
||||
#define I2C_EVENT_MASTER_MODE_SELECT ((uint32_t)(I2C_FLAG_I2CBSY | I2C_FLAG_MASTER | I2C_FLAG_RBNE))
|
||||
|
||||
void i2c_config(void);
|
||||
int read_ir_mlx90614(void);
|
||||
|
||||
|
@@ -62,23 +62,14 @@
|
||||
#define US_ECHO_CH TIMER_CH_0
|
||||
|
||||
void led_config(void);
|
||||
|
||||
void usart_config(void);
|
||||
|
||||
void ultrasonic_config(void);
|
||||
|
||||
void ultrasonic_transmit_config(void);
|
||||
|
||||
void ultrasonic_pwm_out_cycles(const uint8_t cycles);
|
||||
|
||||
void ultrasonic_transmit_delay(const uint16_t micro_second);
|
||||
|
||||
void receive_exti_config(void);
|
||||
|
||||
void ultrasonic_echo_timer_config(void);
|
||||
|
||||
void ultrasonic_receive_config(void);
|
||||
|
||||
uint16_t calculate_distance(uint32_t us_value);
|
||||
|
||||
#endif //ULTRASONIC_DRIVER_H
|
||||
|
Reference in New Issue
Block a user