Adicionar primeiro
This commit is contained in:
23
components/serial_sync/include/sync_master.h
Executable file
23
components/serial_sync/include/sync_master.h
Executable file
@@ -0,0 +1,23 @@
|
||||
#ifndef SYNC_MASTER_H_
|
||||
#define SYNC_MASTER_H_
|
||||
|
||||
|
||||
/**
|
||||
* @brief Send Grid Current
|
||||
*
|
||||
*/
|
||||
void send_grid_current(uint32_t grid_current);
|
||||
|
||||
/**
|
||||
* @brief Start master SYNC
|
||||
*
|
||||
*/
|
||||
void master_sync_start();
|
||||
|
||||
/**
|
||||
* @brief Stop master SYNC
|
||||
*
|
||||
*/
|
||||
void master_sync_stop(void);
|
||||
|
||||
#endif /* SYNC_MASTER_H_ */
|
||||
18
components/serial_sync/include/sync_slave.h
Executable file
18
components/serial_sync/include/sync_slave.h
Executable file
@@ -0,0 +1,18 @@
|
||||
#ifndef SYNC_SLAVE_H_
|
||||
#define SYNC_SLAVE_H_
|
||||
|
||||
|
||||
/**
|
||||
* @brief Start slave SYNC
|
||||
*
|
||||
*/
|
||||
void slave_sync_start();
|
||||
|
||||
|
||||
/**
|
||||
* @brief Stop slave SYNC
|
||||
*
|
||||
*/
|
||||
void slave_sync_stop(void);
|
||||
|
||||
#endif /* SYNC_SLAVE_H_ */
|
||||
Reference in New Issue
Block a user