- nRF52840 + SoftDevice S140 BLE firmware - Piezo ultrasound TX driver (2MHz, 8ch MUX) - ICM42670P IMU 6-axis driver - Echo AFE chain (ADA2200 + ADC121S051) - BLE NUS command parser (mpa/mpc/mdc/mec/maa/msp) - FDS flash config storage - pc_firm parser and ADC driver included Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
689 B
C
25 lines
689 B
C
/*******************************************************************************
|
|
* @file power_control.h
|
|
* @author CandyPops Co.
|
|
* @version V1.0.0
|
|
* @date 2022-09-05
|
|
* @brief
|
|
******************************************************************************/
|
|
|
|
#ifndef _POWER_CONTROL_H_
|
|
#define _POWER_CONTROL_H_
|
|
|
|
#include "main.h"
|
|
|
|
void power_gpio_init(void);
|
|
void eeprom_control(on_off_cont_t eeprom_st);
|
|
int device_sleep_mode(void);
|
|
int device_activated(void);
|
|
int device_reactivated(void);
|
|
void power_loop(void * p_context); /* For x ms */
|
|
void power_timer_start(void);
|
|
void power_timer_stop(void);;
|
|
void power_timer_init(void);
|
|
#endif //_POWER_CONTROL_H_
|
|
|