[riot-notifications] [RIOT-OS/RIOT] Wiegand driver for RIOT-OS (#12217)

Mario Gómez notifications at github.com
Thu Sep 26 03:00:56 CEST 2019


mxgxw commented on this pull request.



> +    volatile uint32_t wg_card_temp;        /**< Card LSV  */
+    volatile uint32_t wg_last_wiegand;     /**< Last card lecture */
+    volatile int16_t wg_bit_count;         /**< Number of bits read */
+    const wiegand_params_t *conn;          /**< Connection parameters */
+  } wiegand_t;
+
+  /**
+   * @brief   Initialize a Wiegand device
+   *
+   * @param[out] dev          device descriptor
+   * @param[in] params        configuration parameters
+   *
+   * @return                   0 on success
+   * @return                  -1 on error
+   */
+  int16_t wg_init(wiegand_t *dev, const wiegand_params_t *params);

Fine. Let me do this change.

-- 
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/12217#discussion_r328397921
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190925/b95d4e8e/attachment.htm>


More information about the notifications mailing list