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.
|
- #ifndef __MODBUS_FLASH_H
- #define __MODBUS_FLASH_H
-
- /*写入FLASH中的Sector 11*/
- /*FLASH地址每+1,代表1字节*/
-
- /*Sector 11起始地址*/
- #define MODBUS_FLASH_BASE 0x080E0000UL
- /*Sector 11编号*/
- #define MODBUS_FLASH_SECTOR FLASH_Sector_11
- /*线圈数据起始地址*/
- #define MODBUS_FLASH_COIL_ADDR MODBUS_FLASH_BASE
- /*寄存器数据起始地址*/
- #define MODBUS_FLASH_REG_ADDR (MODBUS_FLASH_BASE + 0x4E2UL) /*0x4E2 = K1250*/
-
-
-
- #endif
|