[riot-notifications] [RIOT-OS/RIOT] [WIP] cpu/cc26x2_cc13x2: add sub-1-ghz netdev driver (#13295)

Jean Pierre Dudey notifications at github.com
Tue Jan 26 21:24:03 CET 2021


@jeandudey commented on this pull request.



> +#define CC26X2_CC13X2_RF_PARAMS_H
+
+#include <stdint.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define CC26X2_CC13X2_RF_PA_ENTRY(bias, gain, boost, coefficient) \
+    ((bias) << 0) | ((gain) << 6) | ((boost) << 8) | ((coefficient) << 9)
+
+/**
+ * @brief   RF PA table entry
+ */
+typedef struct {
+    uint8_t dbm;  /**< PA entry value in dBm */

Solved, thanks for pointing it up :-)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13295#discussion_r564808504
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210126/32d5df6d/attachment.htm>


More information about the notifications mailing list