mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/at86rf2xx: add TX_START macro
This commit is contained in:
parent
b6b8dc1958
commit
58ce0743c6
@ -228,7 +228,7 @@ void at86rf2xx_reset(at86rf2xx_t *dev)
|
||||
AT86RF2XX_IRQ_STATUS_MASK__TRX_END);
|
||||
|
||||
/* enable TX start interrupt for retry counter */
|
||||
#ifdef AT86RF2XX_REG__IRQ_MASK1
|
||||
#if AT86RF2XX_HAVE_TX_START_IRQ
|
||||
at86rf2xx_reg_write(dev, AT86RF2XX_REG__IRQ_MASK1,
|
||||
AT86RF2XX_IRQ_STATUS_MASK1__TX_START);
|
||||
#endif
|
||||
|
@ -130,6 +130,15 @@ extern "C" {
|
||||
#define AT86RF2XX_HAVE_RETRIES (0)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief TX Start IRQ
|
||||
*/
|
||||
#ifdef AT86RF2XX_REG__IRQ_MASK1
|
||||
#define AT86RF2XX_HAVE_TX_START_IRQ (1)
|
||||
#else
|
||||
#define AT86RF2XX_HAVE_TX_START_IRQ (0)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Random Number Generator
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user