== [source:/PlatformSupport/CustomPeripherals/drivers/ofdm_TxRx_mimo_opbw_v1_07_a/src/ofdm_Rx_mimo.h ofdm_Rx_mimo.h] == '''RESET_BER''': Resets the BER subsystem. '''REQ_LONG_CORR''': Requires a threshold crossing in the long correlator for packet detection. '''REQ_TWO_LONG_CORR''': Requires two threshold crossings spaced by 64 samples in the long correlator for packet detection. '''REQ_SHORT_CORR''': Requires short correlation (for internal packet detection) or an external packet detection trigger to begin processing a packet. '''EXT_PKT_DETECT''': Enables the external packet detection signal on port [wiki:OFDM/MIMO/Docs/ModelPorts#OFDMCore rx_extpktdet]. '''INT_PKT_DETECT''': Enables the internal packet detection subsystem. This is useful only for debugging when the receive gains are fixed. '''DYNAMC_PKT_LENGTHS''': Enables inference of packet lengths from each packet's header. When disabled, every packet is processed with an assumed fixed length. '''RX_SISO_MODE''': Enables SISO mode in the receiver. '''BYPASS_CARR_REC''': Bypasses the carrier frequency offset correction system. '''CFO_USE_LTS''': Enables the estimation of carrier frequency offset based on the preamble's long training symbols. '''CFO_USE_STS''': Enables the estimation of carrier frequency offset based on the preamble's short training symbols. '''CFO_USE_LONGCORR''': Enables the re-timing of carrier frequency offset estimation based on the long correlator's output. '''INTR_BAD_PKTS''': Flag used when calling [source:/PlatformSupport/CustomPeripherals/drivers/ofdm_TxRx_mimo_opbw_v1_07_a/src/ofdm_Rx_mimo.c mimo_ofdmRx_setOptions()] to enable interrupts on the reception of packets which fail CRC. '''INTR_GOOD_PKTS''': Flag used when calling [source:/PlatformSupport/CustomPeripherals/drivers/ofdm_TxRx_mimo_opbw_v1_07_a/src/ofdm_Rx_mimo.c mimo_ofdmRx_setOptions()] to enable interrupts on the reception of packets which pass CRC. '''mimo_ofdmRx_setFFTScaling(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Rx_FFT_Scaling Rx_FFT_Scaling] register. '''mimo_ofdmRx_setFFTWindowOffset(c)''': Writes a value to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Rx_symbolTimingOffset Rx_symbolTimingOffset] '''mimo_ofdmRx_setRxScaling(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Rx_Constellation_Scaling Rx_Constellation_Scaling] register. '''mimo_ofdmRx_setEnergyThresh(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Rx_pktDet_Energy_Thresh Rx_pktDet_Energy_Thresh] register. '''mimo_ofdmRx_setLongCorrParams(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Rx_PktDet_LongCorr_Params Rx_PktDet_LongCorr_Params] register. '''mimo_ofdmRx_setPktDetDly(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Rx_PktDet_Delay Rx_PktDet_Delay] register. '''mimo_ofdmRx_setNumOFDMSyms(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Rx_OFDM_SymbolCounts Rx_OFDM_SymbolCounts] register. '''mimo_ofdmRx_setCorrThresh(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Rx_pktDet_Corr_Thresh Rx_pktDet_Corr_Thresh] register. '''mimo_ofdmRx_setCFOKI(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Rx_FreqOffFilt_KI Rx_FreqOffFilt_KI] register. '''mimo_ofdmRx_setCFOKP(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Rx_FreqOffFilt_KP Rx_FreqOffFilt_KP] register. '''mimo_ofdmRx_copyHeader(dest,len)''': Copies the first ''len'' bytes of a received packet to the address pointed at by ''dest'' . '''mimo_ofdmRx_copyPayload(dest,len)''': Copies ''len'' bytes, starting at byte 12, of a received packet to the address pointed at by ''dest''. == [source:/PlatformSupport/CustomPeripherals/drivers/ofdm_TxRx_mimo_opbw_v1_07_a/src/ofdm_Rx_mimo.c ofdm_Rx_mimo.c] == '''void mimo_ofdmRx_init()''': Clears all internal state in the OFDM core's receive path and holds the model in reset. This should be called once at boot before using the recevier. '''void mimo_ofdmRx_enable()''': Enables operation of the OFDM receiver. This should be called after '''mimo_ofdmRx_init()'''. '''void mimo_ofdmRx_disable()''': Disables operation of the OFDM receiver. The receiver can be re-enabled using '''mimo_ofdmRx_enable()'''. '''void mimo_ofdmRx_setOptions(unsigned int someOptions, unsigned int intType)''': Sets the options flags in the receiver's configuration registers. ''someOptions'' is a bitwise OR'd combination of the receiver configuration flags defined above. ''intType'' is a bitwise OR'd combination of '''INTR_BAD_PKTS''' and '''INTR_GOOD_PKTS''', which are described above. '''void mimo_mac2phy_PktAck()''': Clears the interrupt registers in the receiver. When either interrupt is high, indication either a good or bad packet reception, the receiver will ignore all future incoming packets. The user application should process a received packet, then call this function to allow the receiver to process the next received packet. ---- == [source:/PlatformSupport/CustomPeripherals/drivers/ofdm_TxRx_mimo_opbw_v1_07_a/src/ofdm_Tx_mimo.h ofdm_Tx_mimo.h] == '''TX_SISO_MODE''': Enables SISO mode in the transmitter. '''TX_RANDOM_MODE''': Enables the transmission of random bytes; useful for spectral mask testing and other non-data based debugging. '''TX_DISABLE_ANTB_PREAMBLE''': Disables the transmission of a preamble from antenna B. '''TX_PILOT_SCRAMBLING''': Enables 802.11a-style scrambling of pilot tone values. '''TXBLOCK''': Flag used when calling [source:/PlatformSupport/CustomPeripherals/drivers/ofdm_TxRx_mimo_opbw_v1_07_a/src/ofdm_Tx_mimo.c mimo_mac2phy_pktTx()], causing the function to block until the packet finishes transmission. transmission. '''TXNOBLOCK''': Flag used when calling [source:/PlatformSupport/CustomPeripherals/drivers/ofdm_TxRx_mimo_opbw_v1_07_a/src/ofdm_Tx_mimo.c mimo_mac2phy_pktTx()], causing the function to return immediately, regardless of the state of the packet transmission. '''mimo_ofdmTx_setFFTScaling(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Tx_FFT_Scaling Tx_FFT_Scaling] register. '''mimo_ofdmTx_setPilot1Index(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Tx_Pilots_Index1 Tx_Pilots_Index1] register. '''mimo_ofdmTx_setPilot1Value(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Tx_Pilots_Value1 Tx_Pilots_Value1] register. '''mimo_ofdmTx_setPilot2Index(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Tx_Pilots_Index2 Tx_Pilots_Index2] register. '''mimo_ofdmTx_setPilot2Value(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Tx_Pilots_Value2 Tx_Pilots_Value2] register. '''mimo_ofdmTx_setRandom(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Tx_RandomPayload_ModSel Tx_RandomPayload_ModSel] register. '''mimo_ofdmTx_setNumBytes(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Tx_NumPayloadBytes Tx_NumPayloadBytes] register. '''mimo_ofdmTx_setNumSyms(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Tx_OFDM_SymCounts Tx_OFDM_SymCounts] register. '''mimo_ofdmTx_setPktDoneReset(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Tx_Start_Reset_Control Tx_Start_Reset_Control] register. '''mimo_ofdmTx_setPreambleScaling(c)''': Writes a value '''c''' to the [wiki:OFDM/MIMO/Docs/ModelRegisters#Tx_PreambleScaling Tx_PreambleScaling] register. '''mimo_ofdmTx_copyHeader(src,len)''': Copies the first ''len'' bytes of a user packet to the transmit packet buffer from the address pointed at by ''src''. '''mimo_ofdmTx_copyPayload(src,len)''': Copies ''len'' bytes, starting at byte 12, of a user packet to the transmit packet buffer from the address pointed at by ''src'' . == [source:/PlatformSupport/CustomPeripherals/drivers/ofdm_TxRx_mimo_opbw_v1_07_a/src/ofdm_Tx_mimo.c ofdm_Tx_mimo.c] == '''void mimo_ofdmTx_init()''': Initializes the OFDM transmitter and holds it in reset. This function should be called once at boot before using the transmitter. '''void mimo_ofdmTx_enable()''': Enables the OFDM transmitter by de-asserting the reset signal. '''void mimo_mac2phy_pktTx(unsigned int block, unsigned int radio)''': Initiates the transmission of a packet. This function should be called only after the packet is loaded into the transmit packet buffer and the packet's paramters (number of bytes, number of OFDM symbols, pilot tones, etc.) are configured via the macros described above. The argument ''block'' must be either '''TXBLOCK''' or '''TXNOBLOCK'''; ''radio'' is a bitwise OR'd combination of ''RADIO1_ADDR'', ''RADIO2_ADDR'', ''RADIO3_ADDR'' and ''RADIO4_ADDR'', indicating which radios should be used for the packet's transmission.