Skip to content

Commit 940a41d

Browse files
committed
added epfr09 to the port for the mb9bf560l
1 parent 9d41aea commit 940a41d

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

targets/core/cypress/mb9bf560l/port.hpp

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,62 @@ namespace klib::core::mb9bf560l::io::detail::alternate {
561561
template <uint8_t Value>
562562
struct rts4e: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<8, 0, 2>, Value> {};
563563
}
564+
565+
namespace can_adc_trigger_qprc {
566+
// register EPFR09
567+
// alternate function for ctx1e
568+
template <uint8_t Value>
569+
struct ctx1e: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 30, 2>, Value> {};
570+
571+
// alternate function for crx1s
572+
template <uint8_t Value>
573+
struct crx1s: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 28, 2>, Value> {};
574+
575+
// alternate function for ctx0e
576+
template <uint8_t Value>
577+
struct ctx0e: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 26, 2>, Value> {};
578+
579+
// alternate function for crx0s
580+
template <uint8_t Value>
581+
struct crx0s: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 24, 2>, Value> {};
582+
583+
// alternate function for adtrg2s
584+
template <uint8_t Value>
585+
struct adtrg2s: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 20, 4>, Value> {};
586+
587+
// alternate function for adtrg1s
588+
template <uint8_t Value>
589+
struct adtrg1s: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 16, 4>, Value> {};
590+
591+
// alternate function for adtrg0s
592+
template <uint8_t Value>
593+
struct adtrg0s: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 12, 4>, Value> {};
594+
595+
// alternate function for qzin1s
596+
template <uint8_t Value>
597+
struct qzin1s: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 10, 2>, Value> {};
598+
599+
// alternate function for qbin1s
600+
template <uint8_t Value>
601+
struct qbin1s: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 8, 2>, Value> {};
602+
603+
// alternate function for qain1s
604+
template <uint8_t Value>
605+
struct qain1s: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 6, 2>, Value> {};
606+
607+
// alternate function for qzin0s
608+
template <uint8_t Value>
609+
struct qzin0s: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 4, 2>, Value> {};
610+
611+
// alternate function for qbin0s
612+
template <uint8_t Value>
613+
struct qbin0s: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 2, 2>, Value> {};
614+
615+
// alternate function for qain0s
616+
template <uint8_t Value>
617+
struct qain0s: public detail::pins::peripheral_helper<detail::pins::peripheral_helper_impl<9, 0, 2>, Value> {};
618+
};
619+
564620
}
565621

566622
namespace klib::core::mb9bf560l::io::detail::pins {

0 commit comments

Comments
 (0)