C2A_Core
CA_PackedParamSizeInfo 構造体

パラメタのサイズ情報を圧縮した構造体 [詳解]

#include <command_analyze.h>

フィールド

union {
   uint8_t   byte
 
   struct {
      unsigned   first: 4
 
      unsigned   second: 4
 
   }   bit
 
packed_info
 

詳解

パラメタのサイズ情報を圧縮した構造体

覚え書き
2つのパラメタサイズ情報を uint8_t に押し込める
値は CA_PARAM_SIZE_TYPE

command_analyze.h37 行目に定義があります。

フィールド詳解

◆ 

struct { ... } bit

◆ byte

uint8_t byte

command_analyze.h41 行目に定義があります。

◆ first

unsigned first

command_analyze.h44 行目に定義があります。

◆ 

union { ... } packed_info

◆ second

unsigned second

command_analyze.h45 行目に定義があります。


この構造体詳解は次のファイルから抽出されました: