rflib
Data Fields
rfc_hidAddrEntry_s Struct Reference

#include <rf_hid_cmd.h>

Collaboration diagram for rfc_hidAddrEntry_s:
Collaboration graph
[legend]

Data Fields

struct {
   uint8_t   ena0:1
 0: Disable entry for syncWord0
1: Enable entry for syncWord0 More...
 
   uint8_t   ena1:1
 0: Disable entry for syncWord1
1: Enable entry for syncWord1 More...
 
   uint8_t   autoAckMode:2
 0: Always disable auto-acknowledgement for the entry
1: Always enable auto-acknowledgement for the entry
2: Enable auto-acknowledgement for the entry only if received NO_ACK bit is 0
3: Enable auto-acknowledgement for the entry only if received NO_ACK bit is 1 More...
 
   uint8_t   bVarLen:1
 0: Use fixed length given by maxPktLen in receiver when receiving packets
1: Use variable length in receiver when receiving packets More...
 
   uint8_t   bFixedTxLen:1
 0: Use actual length in header when sending ACK 1: Use fixed word in length field of header when sending ACK and no payload (only for peer without variable length ACKs) More...
 
addrConfig
 
uint8_t maxPktLen
 Packet length for fixed length, maximum packet length for variable length. More...
 
uint8_t address
 Address byte of packet. More...
 
struct {
   uint8_t   bValid:1
 0: The status is not valid. Any packet is viewed as new.
1: The status is valid. Only packets with a sequence number and CRC different from the previous one are accepted. More...
 
   uint8_t   seq:2
 Sequence number of last successfully received packet. More...
 
   uint8_t   ackSeq:2
 Sequence number of the next or current ACK to be transmitted. More...
 
   uint8_t   bAckPayloadSent:1
 0: The last received packet was not acknowledged with payload.
1: The last received packet was acknowledged with payload. More...
 
seqStat
 
dataQueue_tpTxQueue
 Pointer to transmit queue for acknowledgements in use for the address. More...
 
uint16_t crcVal
 CRC value (last two bytes if more than 2 CRC bytes) of last successfully received packet. More...
 

Field Documentation

§ ena0

uint8_t rfc_hidAddrEntry_s::ena0

0: Disable entry for syncWord0
1: Enable entry for syncWord0

§ ena1

uint8_t rfc_hidAddrEntry_s::ena1

0: Disable entry for syncWord1
1: Enable entry for syncWord1

§ autoAckMode

uint8_t rfc_hidAddrEntry_s::autoAckMode

0: Always disable auto-acknowledgement for the entry
1: Always enable auto-acknowledgement for the entry
2: Enable auto-acknowledgement for the entry only if received NO_ACK bit is 0
3: Enable auto-acknowledgement for the entry only if received NO_ACK bit is 1

§ bVarLen

uint8_t rfc_hidAddrEntry_s::bVarLen

0: Use fixed length given by maxPktLen in receiver when receiving packets
1: Use variable length in receiver when receiving packets

§ bFixedTxLen

uint8_t rfc_hidAddrEntry_s::bFixedTxLen

0: Use actual length in header when sending ACK 1: Use fixed word in length field of header when sending ACK and no payload (only for peer without variable length ACKs)

§ addrConfig

struct { ... } rfc_hidAddrEntry_s::addrConfig

§ maxPktLen

uint8_t rfc_hidAddrEntry_s::maxPktLen

Packet length for fixed length, maximum packet length for variable length.

§ address

uint8_t rfc_hidAddrEntry_s::address

Address byte of packet.

§ bValid

uint8_t rfc_hidAddrEntry_s::bValid

0: The status is not valid. Any packet is viewed as new.
1: The status is valid. Only packets with a sequence number and CRC different from the previous one are accepted.

§ seq

uint8_t rfc_hidAddrEntry_s::seq

Sequence number of last successfully received packet.

§ ackSeq

uint8_t rfc_hidAddrEntry_s::ackSeq

Sequence number of the next or current ACK to be transmitted.

§ bAckPayloadSent

uint8_t rfc_hidAddrEntry_s::bAckPayloadSent

0: The last received packet was not acknowledged with payload.
1: The last received packet was acknowledged with payload.

§ seqStat

struct { ... } rfc_hidAddrEntry_s::seqStat

§ pTxQueue

dataQueue_t* rfc_hidAddrEntry_s::pTxQueue

Pointer to transmit queue for acknowledgements in use for the address.

§ crcVal

uint16_t rfc_hidAddrEntry_s::crcVal

CRC value (last two bytes if more than 2 CRC bytes) of last successfully received packet.


The documentation for this struct was generated from the following file:
© Copyright 1995-2022, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale