mirror of
https://gitea.ecohim.ru:3000/RS485_Relay/RS485_Relay2_fw.git
synced 2025-08-06 16:07:17 +03:00
initial commit
This commit is contained in:
18
Core/Inc/board_logic.h
Normal file
18
Core/Inc/board_logic.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* board_logic.h
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef BOARD_LOGIC_H_
|
||||
#define BOARD_LOGIC_H_
|
||||
|
||||
#define MODBUS_FIRMWARE_VERSION ( /*major*/ 1 + /*minor*/ 0 * 0x100)
|
||||
#define MODBUS_BOARD_TYPE (8) //Relay Module board ID
|
||||
|
||||
#define REL_MAIN_BIT (1u<<0)
|
||||
#define REL_AUX_BIT (1u<<1)
|
||||
|
||||
void loop_iterate();
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user