move files around

This commit is contained in:
hathach 2023-07-03 11:03:50 +07:00
parent ad7764b5b2
commit 960d9fa6f1
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
6 changed files with 10 additions and 19 deletions

View File

@ -1,7 +0,0 @@
/* generated configuration header file - do not edit */
#ifndef R_IOPORT_CFG_H_
#define R_IOPORT_CFG_H_
#define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE)
#endif /* R_IOPORT_CFG_H_ */

View File

@ -1,5 +0,0 @@
/* vector numbers are configurable/dynamic, hence this, it will be used inside the port */
#define TU_IRQn 0
#define USBFS_RESUME_IRQn 1
#define USBFS_FIFO_0_IRQn 2
#define USBFS_FIFO_1_IRQn 3

View File

@ -53,7 +53,16 @@
#define BSP_PRV_PRCR_PRC1_UNLOCK ((BSP_PRV_PRCR_KEY) | 0x2U)
#define BSP_PRV_PRCR_LOCK ((BSP_PRV_PRCR_KEY) | 0x0U)
/* ISR prototypes */
static const ioport_cfg_t family_pin_cfg = {
.number_of_pins = sizeof(board_pin_cfg) / sizeof(ioport_pin_cfg_t),
.p_pin_cfg_data = board_pin_cfg,
};
static ioport_instance_ctrl_t port_ctrl;
//--------------------------------------------------------------------+
// Vector Data
//--------------------------------------------------------------------+
void usbfs_interrupt_handler(void);
void usbfs_resume_handler(void);
void usbfs_d0fifo_handler(void);
@ -72,12 +81,6 @@ const bsp_interrupt_event_t g_interrupt_event_link_select[BSP_ICU_VECTOR_MAX_ENT
[3] = BSP_PRV_IELS_ENUM(EVENT_USBFS_FIFO_1) /* USBFS FIFO 1 (DMA transfer request 1) */
};
static const ioport_cfg_t family_pin_cfg = {
.number_of_pins = sizeof(board_pin_cfg) / sizeof(ioport_pin_cfg_t),
.p_pin_cfg_data = board_pin_cfg,
};
static ioport_instance_ctrl_t port_ctrl;
//--------------------------------------------------------------------+
// Board porting API
//--------------------------------------------------------------------+