1.1.4.4.48 DRV_RF215_INIT Struct

C

typedef struct
{
    /* SPI chip select register address used for SPI configuration */
    uint32_t*                       spiCSRegAddress;

    /* SPI transmit register address used for DMA operation */
    const void*                     spiTransmitAddress;

    /* SPI receive register address used for DMA operation */
    const void*                     spiReceiveAddress;

    /* Pointer to SPI PLIB is busy function */
    DRV_RF215_PLIB_SPI_IS_BUSY      spiPlibIsBusy;

    /* Pointer to SPI PLIB chip select function */
    DRV_RF215_PLIB_SPI_SET_CS       spiPlibSetChipSelect;

    /* Pointer to SPI Write and Read function */
    DRV_RF215_PLIB_SPI_WRITE_READ   spiPlibWriteRead;

    /* Pointer to SPI Register Callback function */
    DRV_RF215_PLIB_SPI_SET_CALLBACK spiPlibSetCallback;

    /* Interrupt source ID for DMA */
    INT_SOURCE                      dmaIntSource;

    /* Interrupt source ID for SYS_TIME */
    INT_SOURCE                      sysTimeIntSource;

    /* Interrupt source ID for PLC external interrupt */
    INT_SOURCE                      plcExtIntSource;

    /* Initial PHY frequency band and operating mode for Sub-GHz transceiver */
    DRV_RF215_PHY_BAND_OPM          rf09PhyBandOpmIni;

    /* Initial PHY frequency channel number for Sub-GHz transceiver */
    uint16_t                        rf09PhyChnNumIni;

    /* Initial PHY frequency band and operating mode for 2.4 GHz transceiver */
    DRV_RF215_PHY_BAND_OPM          rf24PhyBandOpmIni;

    /* Initial PHY frequency channel number for 2.4 GHz transceiver */
    uint16_t                        rf24PhyChnNumIni;

} DRV_RF215_INIT;

Summary

Defines the data required to initialize the RF215 driver.

Description

This data type defines the data required to initialize the RF215 driver.

Remarks

The spiCSRegAddress parameter is only available if the used SPI peripheral supports multiple chip select lines.

The spiTransmitAddress and spiReceiveAddress parameters are only available if the MCU has DMA.

The spiPlibIsBusy parameter is only available if the SPI dependency of RF215 driver is connected to SPI splitter or if the device does not have DMA.

The spiPlibSetChipSelect parameter is only available if the SPI dependency of RF215 driver is connected to SPI splitter and the used SPI peripheral supports multiple chip select lines.

The spiPlibWriteRead and spiPlibSetCallback parameters are only available if the device does not have DMA.

The sysTimeIntSource parameter is only available if "PHY TX/RX time support" is enabled via MCC.

The plcExtIntSource parameter is only available if a PLC driver (PHY or G3 MACRT) is used.

The rf09PhyBandOpmIni and rf09PhyChnNumIni parameters are only available if the Sub-GHz transceiver is enabled via MCC.

The rf24PhyBandOpmIni and rf24PhyChnNumIni parameters are only available if the 2.4GHz transceiver is enabled via MCC.