Changes between Version 12 and Version 13 of OFDM/MIMO/Docs/AutoResponse
- Timestamp:
- Aug 29, 2009, 3:28:37 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OFDM/MIMO/Docs/AutoResponse
v12 v13 19 19 '''Match unit configuration:''' 20 20 21 * PHY_AUTORESPONSE_MATCH_CONFIG(''addr'', ''len'', ''val''): Configure the match unit to check whether ''len'' header bytes starting at ''addr'' match value ''val''21 * {{{PHY_AUTORESPONSE_MATCH_CONFIG}}}(''addr'', ''len'', ''val''): Configure the match unit to check whether ''len'' header bytes starting at ''addr'' match value ''val'' 22 22 23 23 '''Actor configuration:''' [[BR]] 24 24 Each actor is configured with a single register write; each actor is accessed with its own macro ({{{mimo_ofdmTxRx_setActionN(''config'')}}}), where N is in [0,5] and ''config'' is the value returned by one of these actor configuration macros: 25 * {{{PHY_AUTORESPONSE_TXACTION_CONFIG (''pktBuf'', ''options'', ''delay'', ''conditions'')}}}: Configure the actor to automatically transmit:25 * {{{PHY_AUTORESPONSE_TXACTION_CONFIG}}}(''pktBuf'', ''options'', ''delay'', ''conditions''): Configure the actor to automatically transmit: 26 26 * ''pktBuf'': index (in ![1,31]) of the packet buffer from which to automatically transmit the packet 27 27 * ''options'': enable the header translator when this actor triggers a transmission 'PHY_AUTORESPONSE_ACT_TRANS_HDR: use the translator; 0: disable the translator) … … 47 47 '''Actor options:''' [[BR]] 48 48 The following values are used to specify the options for each actor. These values should be bitwise OR'd together to form the ''options'' field in the {{PHY_AUTORESPONSE_TXACTION_CONFIG}} macro. 49 * PHY_AUTORESPONSE_ACT_TRANS_HDR: Use the header translator for the auto-triggered transmission49 * {{{PHY_AUTORESPONSE_ACT_TRANS_HDR}}}: Use the header translator for the auto-triggered transmission 50 50 51 51 '''Header translator:''' 52 52 53 * PHY_HEADERTRANSLATE_SET(''actionBuf'', ''txByteNum'', ''srcBuf'', ''srcByteNum''): Configure the translator to send the byte at index ''srcByteNum'' from the packet buffer ''srcBuf'' as byte number ''txByteNum'' for packets automatically transmitted from packet buffer ''actionBuf''53 * {{{PHY_HEADERTRANSLATE_SET}}}(''actionBuf'', ''txByteNum'', ''srcBuf'', ''srcByteNum''): Configure the translator to send the byte at index ''srcByteNum'' from the packet buffer ''srcBuf'' as byte number ''txByteNum'' for packets automatically transmitted from packet buffer ''actionBuf'' 54 54 55 55 == Sample Code ==