Skip to content

Commit

Permalink
cpu/k22f: Add GPIO compatibility definitions to vendor headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Joakim Nohlgård committed Jul 18, 2017
1 parent 4ceb71e commit 57b32f5
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 1 deletion.
16 changes: 15 additions & 1 deletion cpu/k22f/include/vendor/MK22F10.h
Original file line number Diff line number Diff line change
Expand Up @@ -8452,7 +8452,21 @@ typedef struct {
* @{
*/

/* No backward compatibility issues. */
#define GPIOA_BASE PTA_BASE
#define GPIOB_BASE PTB_BASE
#define GPIOC_BASE PTC_BASE
#define GPIOD_BASE PTD_BASE
#define GPIOE_BASE PTE_BASE
#define GPIOF_BASE PTF_BASE
#define GPIOG_BASE PTG_BASE
#define GPIOA PTA
#define GPIOB PTB
#define GPIOC PTC
#define GPIOD PTD
#define GPIOE PTE
#define GPIOF PTF
#define GPIOG PTG
#define OSC0 OSC

/**
* @}
Expand Down
15 changes: 15 additions & 0 deletions cpu/k22f/include/vendor/MK22F12.h
Original file line number Diff line number Diff line change
Expand Up @@ -15002,6 +15002,21 @@ typedef struct {
#define LLW_IRQn LLWU_IRQn
#define LLW_IRQHandler LLWU_IRQHandler

#define GPIOA_BASE PTA_BASE
#define GPIOB_BASE PTB_BASE
#define GPIOC_BASE PTC_BASE
#define GPIOD_BASE PTD_BASE
#define GPIOE_BASE PTE_BASE
#define GPIOF_BASE PTF_BASE
#define GPIOG_BASE PTG_BASE
#define GPIOA PTA
#define GPIOB PTB
#define GPIOC PTC
#define GPIOD PTD
#define GPIOE PTE
#define GPIOF PTF
#define GPIOG PTG
#define OSC0 OSC
/*!
* @}
*/ /* end of group Backward_Compatibility_Symbols */
Expand Down
15 changes: 15 additions & 0 deletions cpu/k22f/include/vendor/MK22F12810.h
Original file line number Diff line number Diff line change
Expand Up @@ -11742,6 +11742,21 @@ typedef struct {
#define LLW_IRQn LLWU_IRQn
#define LLW_IRQHandler LLWU_IRQHandler

#define GPIOA_BASE PTA_BASE
#define GPIOB_BASE PTB_BASE
#define GPIOC_BASE PTC_BASE
#define GPIOD_BASE PTD_BASE
#define GPIOE_BASE PTE_BASE
#define GPIOF_BASE PTF_BASE
#define GPIOG_BASE PTG_BASE
#define GPIOA PTA
#define GPIOB PTB
#define GPIOC PTC
#define GPIOD PTD
#define GPIOE PTE
#define GPIOF PTF
#define GPIOG PTG
#define OSC0 OSC
/*!
* @}
*/ /* end of group Backward_Compatibility_Symbols */
Expand Down
15 changes: 15 additions & 0 deletions cpu/k22f/include/vendor/MK22F25612.h
Original file line number Diff line number Diff line change
Expand Up @@ -12611,6 +12611,21 @@ typedef struct {
#define LLW_IRQn LLWU_IRQn
#define LLW_IRQHandler LLWU_IRQHandler

#define GPIOA_BASE PTA_BASE
#define GPIOB_BASE PTB_BASE
#define GPIOC_BASE PTC_BASE
#define GPIOD_BASE PTD_BASE
#define GPIOE_BASE PTE_BASE
#define GPIOF_BASE PTF_BASE
#define GPIOG_BASE PTG_BASE
#define GPIOA PTA
#define GPIOB PTB
#define GPIOC PTC
#define GPIOD PTD
#define GPIOE PTE
#define GPIOF PTF
#define GPIOG PTG
#define OSC0 OSC
/*!
* @}
*/ /* end of group Backward_Compatibility_Symbols */
Expand Down
13 changes: 13 additions & 0 deletions cpu/k22f/include/vendor/MK22F51212.h
Original file line number Diff line number Diff line change
Expand Up @@ -13019,6 +13019,19 @@ typedef struct {
#define LLW_IRQHandler LLWU_IRQHandler

#define GPIOA_BASE PTA_BASE
#define GPIOB_BASE PTB_BASE
#define GPIOC_BASE PTC_BASE
#define GPIOD_BASE PTD_BASE
#define GPIOE_BASE PTE_BASE
#define GPIOF_BASE PTF_BASE
#define GPIOG_BASE PTG_BASE
#define GPIOA PTA
#define GPIOB PTB
#define GPIOC PTC
#define GPIOD PTD
#define GPIOE PTE
#define GPIOF PTF
#define GPIOG PTG
#define OSC0 OSC
/*!
* @}
Expand Down
1 change: 1 addition & 0 deletions cpu/k22f/include/vendor/MK22FA12.h
Original file line number Diff line number Diff line change
Expand Up @@ -16488,6 +16488,7 @@ typedef struct {
#define LLW_IRQn LLWU_IRQn
#define LLW_IRQHandler LLWU_IRQHandler

#define OSC0 OSC
/*!
* @}
*/ /* end of group Backward_Compatibility_Symbols */
Expand Down

0 comments on commit 57b32f5

Please sign in to comment.