Home
last modified time | relevance | path

Searched refs:M_END (Results 1 – 3 of 3) sorted by relevance

/hal_stm32-3.5.0/lib/stm32wb/hci/
Dutilities_common.h67 #undef M_END
68 #define M_END } while(0) macro
80 #define MODINC( a, m ) M_BEGIN (a)++; if ((a)>=(m)) (a)=0; M_END
83 #define MODDEC( a, m ) M_BEGIN if ((a)==0) (a)=(m); (a)--; M_END
86 #define MODADD( a, b, m ) M_BEGIN (a)+=(b); if ((a)>=(m)) (a)-=(m); M_END
102 M_END
119 #define BITNSET( w, n, b ) M_BEGIN (w)[(n)/32] |= ((U32)(b))<<((n)%32); M_END
Dstm32_wpan_common.h80 #undef M_END
81 #define M_END } while(0) macro
93 #define MODINC( a, m ) M_BEGIN (a)++; if ((a)>=(m)) (a)=0; M_END
96 #define MODDEC( a, m ) M_BEGIN if ((a)==0) (a)=(m); (a)--; M_END
99 #define MODADD( a, b, m ) M_BEGIN (a)+=(b); if ((a)>=(m)) (a)-=(m); M_END
115 M_END
132 #define BITNSET( w, n, b ) M_BEGIN (w)[(n)/32] |= ((U32)(b))<<((n)%32); M_END
Dapp_common.h60 #define M_END } while(0) macro
73 #define MODINC( a, m ) M_BEGIN (a)++; if ((a)>=(m)) (a)=0; M_END
75 #define MODDEC( a, m ) M_BEGIN if ((a)==0) (a)=(m); (a)--; M_END
77 #define MODADD( a, b, m ) M_BEGIN (a)+=(b); if ((a)>=(m)) (a)-=(m); M_END
84 M_END
96 #define BITNSET( w, n, b ) M_BEGIN (w)[(n)/32] |= ((U32)(b))<<((n)%32); M_END