From 1e5bd82af28c6005fa0ecf008e44322a6ee46461 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 28 May 2013 15:24:27 +0700 Subject: rename NGX to ngx add a bunch of stub header for dcd (175x_6x, 13xx, 18xx_43xx) add dcd_nxp_romdriver for handling usb rom driver add BIT_TEST_ in binary.h remove mw_usbd_hid.h include due to lexical conflict --- tinyusb/common/binary.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tinyusb/common/binary.h') diff --git a/tinyusb/common/binary.h b/tinyusb/common/binary.h index 30be2a130..78305ea60 100644 --- a/tinyusb/common/binary.h +++ b/tinyusb/common/binary.h @@ -65,6 +65,8 @@ /// clear n-th bit of x #define BIT_CLR_(x, n) ( (x) & (~BIT_(n)) ) +/// test n-th bit of x +#define BIT_TEST_(x, n) ( (x) & BIT_(n) ) #if defined(__GNUC__) && !defined(__CC_ARM) -- cgit v1.3.1