Function slmp_client::decode_read_random_response[][src]

pub fn decode_read_random_response(
    buf: &[u8],
    target_word: &[SLMPDevice],
    target_dword: &[SLMPDevice]
) -> (Vec<SLMPDeviceData<u16>>, Vec<SLMPDeviceData<u32>>)
Expand description

指定したデバイスの読み取り要求に対する応答の処理

引数

  • buf - 応答内容の入ったバッファ
  • target_word - 要求時に指定したワードアクセスするデバイスのリスト
  • target_dword - 要求時に指定したダブルワードアクセスするデバイスのリスト

返値

ワードデータとダブルワードそれぞれのデバイスリスト