mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14017 from OpenNuvoton/nuvoton_remove_enabledisable_macro
Nuvoton: Remove DISABLE/ENABLE macro definitions in BSPpull/13959/head
commit
336dd99091
|
@ -62,8 +62,9 @@ typedef volatile unsigned short vu16;
|
|||
#define TRUE (1L)
|
||||
#define FALSE (0L)
|
||||
|
||||
#define ENABLE 1
|
||||
#define DISABLE 0
|
||||
/* Not used on Mbed OS. Remove to get around name conflict */
|
||||
//#define ENABLE 1
|
||||
//#define DISABLE 0
|
||||
|
||||
/* Bit Mask Definitions */
|
||||
#define BIT0 0x00000001UL
|
||||
|
|
|
@ -578,8 +578,9 @@ typedef volatile unsigned short vu16;
|
|||
#define TRUE (1UL) ///< Boolean true, define to use in API parameters or return value
|
||||
#define FALSE (0UL) ///< Boolean false, define to use in API parameters or return value
|
||||
|
||||
#define ENABLE (1UL) ///< Enable, define to use in API parameters
|
||||
#define DISABLE (0UL) ///< Disable, define to use in API parameters
|
||||
/* Not used on Mbed OS. Remove to get around name conflict */
|
||||
//#define ENABLE (1UL) ///< Enable, define to use in API parameters
|
||||
//#define DISABLE (0UL) ///< Disable, define to use in API parameters
|
||||
|
||||
/* Define one bit mask */
|
||||
#define BIT0 (0x00000001UL) ///< Bit 0 mask of an 32 bit integer
|
||||
|
|
|
@ -518,8 +518,9 @@ typedef volatile unsigned short vu16;
|
|||
#define TRUE (1L)
|
||||
#define FALSE (0L)
|
||||
|
||||
#define ENABLE 1
|
||||
#define DISABLE 0
|
||||
/* Not used on Mbed OS. Remove to get around name conflict */
|
||||
//#define ENABLE 1
|
||||
//#define DISABLE 0
|
||||
|
||||
/* Bit Mask Definitions */
|
||||
#define BIT0 0x00000001UL
|
||||
|
|
|
@ -608,8 +608,9 @@ typedef volatile unsigned long vu32; ///< Define 32-bit unsigned volatile
|
|||
#define TRUE (1UL) ///< Boolean true, define to use in API parameters or return value
|
||||
#define FALSE (0UL) ///< Boolean false, define to use in API parameters or return value
|
||||
|
||||
#define ENABLE (1UL) ///< Enable, define to use in API parameters
|
||||
#define DISABLE (0UL) ///< Disable, define to use in API parameters
|
||||
/* Not used on Mbed OS. Remove to get around name conflict */
|
||||
//#define ENABLE (1UL) ///< Enable, define to use in API parameters
|
||||
//#define DISABLE (0UL) ///< Disable, define to use in API parameters
|
||||
|
||||
/* Define one bit mask */
|
||||
#define BIT0 (0x00000001UL) ///< Bit 0 mask of an 32 bit integer
|
||||
|
|
|
@ -11838,8 +11838,9 @@ typedef volatile unsigned long vu32; ///< Define 32-bit unsigned volatile
|
|||
#define FALSE (0) ///< Boolean false, define to use in API parameters or return value
|
||||
#endif
|
||||
|
||||
#define ENABLE (1) ///< Enable, define to use in API parameters
|
||||
#define DISABLE (0) ///< Disable, define to use in API parameters
|
||||
/* Not used on Mbed OS. Remove to get around name conflict */
|
||||
//#define ENABLE (1) ///< Enable, define to use in API parameters
|
||||
//#define DISABLE (0) ///< Disable, define to use in API parameters
|
||||
|
||||
/* Define one bit mask */
|
||||
#define BIT0 (0x00000001) ///< Bit 0 mask of an 32 bit integer
|
||||
|
|
|
@ -32521,8 +32521,9 @@ typedef volatile unsigned long vu32; ///< Define 32-bit unsigned volatile
|
|||
#define FALSE (0) ///< Boolean false, define to use in API parameters or return value
|
||||
#endif
|
||||
|
||||
#define ENABLE (1) ///< Enable, define to use in API parameters
|
||||
#define DISABLE (0) ///< Disable, define to use in API parameters
|
||||
/* Not used on Mbed OS. Remove to get around name conflict */
|
||||
//#define ENABLE (1) ///< Enable, define to use in API parameters
|
||||
//#define DISABLE (0) ///< Disable, define to use in API parameters
|
||||
|
||||
/* Define one bit mask */
|
||||
#define BIT0 (0x00000001) ///< Bit 0 mask of an 32 bit integer
|
||||
|
|
Loading…
Reference in New Issue