Macro libftd2xx_cc1101::mpsse[][src]

macro_rules! mpsse {
    ($passthru : tt { let $data_id : ident = partnum() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt
 { let($stat_id : ident, $data_id : ident) = partnum() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = version() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt
 { let($stat_id : ident, $data_id : ident) = version() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = freqtest() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt
 { let($stat_id : ident, $data_id : ident) = freqtest() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = lqi() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt
 { let($stat_id : ident, $data_id : ident) = lqi() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = rssi() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt
 { let($stat_id : ident, $data_id : ident) = rssi() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = marcstate() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt
 { let($stat_id : ident, $data_id : ident) = marcstate() ; $($tail : tt) * }
 -> [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = wortime() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt
 { let($stat_id : ident, $data_id : ident) = wortime() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = pktstatus() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt
 { let($stat_id : ident, $data_id : ident) = pktstatus() ; $($tail : tt) * }
 -> [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = vco_vc_dac() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt
 { let($stat_id : ident, $data_id : ident) = vco_vc_dac() ; $($tail : tt) * }
 -> [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = txbytes() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt
 { let($stat_id : ident, $data_id : ident) = txbytes() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = rxbytes() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt
 { let($stat_id : ident, $data_id : ident) = rxbytes() ; $($tail : tt) * } ->
 [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = rcctrl1_status() ; $($tail : tt) * }
 -> [$($out : tt) *]) => { ... };
    ($passthru : tt
 {
     let($stat_id : ident, $data_id : ident) = rcctrl1_status() ;
     $($tail : tt) *
 } -> [$($out : tt) *]) => { ... };
    ($passthru : tt { let $data_id : ident = rcctrl0_status() ; $($tail : tt) * }
 -> [$($out : tt) *]) => { ... };
    ($passthru : tt
 {
     let($stat_id : ident, $data_id : ident) = rcctrl0_status() ;
     $($tail : tt) *
 } -> [$($out : tt) *]) => { ... };
    ($($tokens : tt) *) => { ... };
}
Expand description

Extended compile-time mpsse command array generation macro.

See documentation of libftd2xx::mpsse for general information on how this macro functions.

Commands

In addition to the commands in libftd2xx::mpsse, the following CC1101-specific commands are available: