Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- #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*/
-
- void ModbusRegReadFlash(void);
- void ModbusCoilReadFlash(void);
-
- #endif
|