我正在研究嵌入式 C 。我被指针结构困住了....
结构如下..
/*structure 1*/
ZPS_tsAplApsmeBindingTableType *psAplApsmeAibBindingTable;
/*structure 2*/
typedef struct
{
ZPS_tsAplApsmeBindingTableCache* psAplApsmeBindingTableCache;
ZPS_tsAplApsmeBindingTable* psAplApsmeBindingTable;
}ZPS_tsAplApsmeBindingTableType;
/*structure3*/
typedef struct
{
uint64 u64SourceAddress;
ZPS_tsAplApsmeBindingTableEntry* pvAplApsmeBindingTableEntryForSpSrcAddr;
uint32 u32SizeOfBindingTable;
}ZPS_tsAplApsmeBindingTable;
/*structure 4*/
typedef struct
{
ZPS_tuAddress uDstAddress;
uint16 u16ClusterId;
uint8 u8DstAddrMode;
uint8 u8SourceEndpoint;
uint8 u8DestinationEndPoint;
} ZPS_tsAplApsmeBindingTableEntry;
我已经声明ZPS_tsAplApsmeBindingTableType *p;
但我想访问ZPS_tsAplApsmeBindingTableEntry
结构值......我怎么能这样做?
谁能告诉我两者的区别
ZPS_tsAplApsmeBindingTable* psAplApsmeBindingTable
和
ZPS_tsAplApsmeBindingTable *psAplApsmeBindingTable;
谢谢 ....