add timer channel macros
This commit is contained in:
parent
be0b5c8b06
commit
e30172da33
4
global.h
4
global.h
|
@ -35,6 +35,10 @@
|
|||
*/
|
||||
/** get GPIO based on GPIO identifier */
|
||||
#define GPIO(x) CAT2(GPIO,x)
|
||||
/** get GPIO based on identifier */
|
||||
#define GPIO_(x) CAT2(GPIO_,x)
|
||||
/** get GPIO based on bank identifier */
|
||||
#define GPIO_BANK_(x) CAT2(GPIO_BANK_,x)
|
||||
/** get RCC for GPIO based on GPIO identifier */
|
||||
#define RCC_GPIO(x) CAT2(RCC_GPIO,x)
|
||||
/** get TIM based on TIM identifier */
|
||||
|
|
Loading…
Reference in New Issue