drivers/include/dose.h : Compile Configs

This commit is contained in:
Akshai M
2020-04-01 14:35:45 +05:30
parent 5e429d5697
commit 5e97feb88e
+13 -1
View File
@@ -124,9 +124,21 @@ typedef enum {
#define DOSE_OPT_PROMISCUOUS (BIT0) /**< Don't check the destination MAC - pass every frame to upper layers */
/** @} */
/**
* @defgroup drivers_dose_config Differentially Operated Serial Ethernet (DOSE) driver compile configuration
* @ingroup config
* @{
*/
/**
* @brief Timeout that brings the driver back into idle state.
*
* Fallback to idle if the remote side died within a transaction.
*/
#ifndef DOSE_TIMEOUT_USEC
#define DOSE_TIMEOUT_USEC (5000) /**< Timeout that brings the driver back into idle state if the remote side died within a transaction */
#define DOSE_TIMEOUT_USEC (5000)
#endif
/** @} */
#define DOSE_FRAME_CRC_LEN (2) /**< CRC16 is used */
#define DOSE_FRAME_LEN (ETHERNET_FRAME_LEN + DOSE_FRAME_CRC_LEN) /**< dose frame length */