Add ack-botton driver.

This commit is contained in:
NIIBE Yutaka
2018-09-27 10:36:36 +09:00
parent 43bbdb44dc
commit 49b0556a24
10 changed files with 116 additions and 13 deletions

View File

@@ -71,7 +71,7 @@
* Those will be removed soon, once such an driver will be improved
* in new style.
*/
/* For pin-cir settings of Gnuk */
#if defined(PINPAD_CIR_SUPPORT)
#define TIMx TIM2
#define INTR_REQ_TIM TIM2_IRQ
#define AFIO_EXTICR_INDEX 0
@@ -83,3 +83,4 @@
#define ENABLE_RCC_APB1
#define RCC_APBnENR_TIMxEN RCC_APB1ENR_TIM2EN
#define RCC_APBnRSTR_TIMxRST RCC_APB1RSTR_TIM2RST
#endif