Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
Diff: core/flash/NyLPC_cMiMicConfiglation.h
- Revision:
- 92:4f77028cce64
- Parent:
- 37:fc4b4fd6a649
--- a/core/flash/NyLPC_cMiMicConfiglation.h Sat Sep 27 13:33:26 2014 +0000
+++ b/core/flash/NyLPC_cMiMicConfiglation.h Wed Oct 01 13:58:53 2014 +0000
@@ -17,7 +17,7 @@
/**
* IPアドレスはネットワークオーダーで格納する。
- * 構造体は4バイトアライメントであること。
+ * 構造体は8バイトアライメントであること。
*/
struct NyLPC_TMiMicConfigulation{
/** ROM焼検出用。0xFFFFFFFFを書く */
@@ -27,7 +27,7 @@
/** MACアドレスの下位4bit*/
NyLPC_TUInt32 mac_00_01_02_03;
/** MACアドレスの上位2bit*/
- NyLPC_TUInt32 mac_04_05_xx_xx;
+ NyLPC_TUInt32 mac_04_05_xx_xx; //12+NyLPC_TcNetConfig_HOSTNAME_LEN
/*
* IPv4設定
*/
@@ -40,7 +40,7 @@
/** IPV4アドレス*/
NyLPC_TUInt32 ipv4_addr_net;
NyLPC_TUInt32 ipv4_mask_net;
- NyLPC_TUInt32 ipv4_drut_net;
+ NyLPC_TUInt32 ipv4_drut_net; //16
/*
* Service setting
@@ -52,9 +52,10 @@
*/
NyLPC_TUInt32 srv_flags;
/** HTTPポート番号*/
- NyLPC_TUInt16 http_port;
- NyLPC_TUInt16 padding;
-
+ NyLPC_TUInt16 http_port; //6
+ //total=(34=(12+16+6)+NyLPC_TcNetConfig_HOSTNAME_LEN)
+ NyLPC_TUInt16 padding32;
+ NyLPC_TUInt32 padding64; //total=40+NyLPC_TcNetConfig_HOSTNAME_LEN
};
/**
