common_data.h 960 B

1234567891011121314151617181920212223242526272829303132
  1. /* generated common header file - do not edit */
  2. #ifndef COMMON_DATA_H_
  3. #define COMMON_DATA_H_
  4. #include <stdint.h>
  5. #include "bsp_api.h"
  6. #include "r_icu.h"
  7. #include "r_external_irq_api.h"
  8. #include "r_ioport.h"
  9. #include "bsp_pin_cfg.h"
  10. FSP_HEADER
  11. /** External IRQ on ICU Instance. */
  12. extern const external_irq_instance_t g_external_irq0;
  13. /** Access the ICU instance using these structures when calling API functions directly (::p_api is not used). */
  14. extern icu_instance_ctrl_t g_external_irq0_ctrl;
  15. extern const external_irq_cfg_t g_external_irq0_cfg;
  16. #ifndef irq_callback
  17. void irq_callback(external_irq_callback_args_t * p_args);
  18. #endif
  19. #define IOPORT_CFG_NAME g_bsp_pin_cfg
  20. #define IOPORT_CFG_OPEN R_IOPORT_Open
  21. #define IOPORT_CFG_CTRL g_ioport_ctrl
  22. /* IOPORT Instance */
  23. extern const ioport_instance_t g_ioport;
  24. /* IOPORT control structure. */
  25. extern ioport_instance_ctrl_t g_ioport_ctrl;
  26. void g_common_init(void);
  27. FSP_FOOTER
  28. #endif /* COMMON_DATA_H_ */