280 #ifndef BSP430_PERIPH_TIMER_H
281 #define BSP430_PERIPH_TIMER_H
295 #define BSP430_MODULE_TIMER_A (defined(__MSP430_HAS_TA2__) \
296 || defined(__MSP430_HAS_TA3__) \
297 || defined(__MSP430_HAS_TA5__) \
298 || defined(__MSP430_HAS_T0A3__) \
299 || defined(__MSP430_HAS_T0A5__))
307 #define BSP430_MODULE_TIMER_B (defined(__MSP430_HAS_TB3__) \
308 || defined(__MSP430_HAS_TB7__) \
309 || defined(__MSP430_HAS_T0B3__) \
310 || defined(__MSP430_HAS_T0B7__))
319 #define BSP430_MODULE_TIMER (BSP430_MODULE_TIMER_A || BSP430_MODULE_TIMER_B)
323 #if defined(BSP430_DOXYGEN) || (BSP430_MODULE_TIMER - 0)
359 #ifndef configBSP430_TIMER_CCACLK
360 #define configBSP430_TIMER_CCACLK 0
382 #if defined(BSP430_DOXYGEN)
383 #define BSP430_TIMER_CCACLK include <bsp430/platform.h>
397 #if defined(BSP430_DOXYGEN)
398 #define BSP430_TIMER_CCACLK_PERIPH_CPPID include "bsp430_config.h"
408 #if defined(BSP430_DOXYGEN)
409 #define BSP430_TIMER_CCACLK_PERIPH_HANDLE derived platform or application specific
413 #elif BSP430_TIMER_CCACLK_PERIPH_CPPID == BSP430_PERIPH_CPPID_TA0
414 #define BSP430_TIMER_CCACLK_PERIPH_HANDLE BSP430_PERIPH_TA0
416 #elif BSP430_TIMER_CCACLK_PERIPH_CPPID == BSP430_PERIPH_CPPID_TA1
417 #define BSP430_TIMER_CCACLK_PERIPH_HANDLE BSP430_PERIPH_TA1
419 #elif BSP430_TIMER_CCACLK_PERIPH_CPPID == BSP430_PERIPH_CPPID_TA2
420 #define BSP430_TIMER_CCACLK_PERIPH_HANDLE BSP430_PERIPH_TA2
422 #elif BSP430_TIMER_CCACLK_PERIPH_CPPID == BSP430_PERIPH_CPPID_TA3
423 #define BSP430_TIMER_CCACLK_PERIPH_HANDLE BSP430_PERIPH_TA3
425 #elif BSP430_TIMER_CCACLK_PERIPH_CPPID == BSP430_PERIPH_CPPID_TB0
426 #define BSP430_TIMER_CCACLK_PERIPH_HANDLE BSP430_PERIPH_TB0
428 #elif BSP430_TIMER_CCACLK_PERIPH_CPPID == BSP430_PERIPH_CPPID_TB1
429 #define BSP430_TIMER_CCACLK_PERIPH_HANDLE BSP430_PERIPH_TB1
431 #elif BSP430_TIMER_CCACLK_PERIPH_CPPID == BSP430_PERIPH_CPPID_TB2
432 #define BSP430_TIMER_CCACLK_PERIPH_HANDLE BSP430_PERIPH_TB2
446 #ifndef configBSP430_TIMER_CCACLK_HAL
447 #define configBSP430_TIMER_CCACLK_HAL indirectly defaulted
459 #if defined(BSP430_DOXYGEN)
460 #define configBSP430_TIMER_CCACLK_HAL_ISR indirectly defaulted
472 #if defined(BSP430_DOXYGEN)
473 #define configBSP430_TIMER_CCACLK_HAL_CC0_ISR indirectly defaulted
496 #ifndef configBSP430_TIMER_CCACLK_CLK_PORT
497 #define configBSP430_TIMER_CCACLK_CLK_PORT indirectly defaulted
511 #ifndef configBSP430_TIMER_CCACLK_CLK_PORT_HAL
512 #define configBSP430_TIMER_CCACLK_CLK_PORT_HAL indirectly defaulted 0
535 #ifndef configBSP430_TIMER_CCACLK_CC0_PORT
536 #define configBSP430_TIMER_CCACLK_CC0_PORT indirectly defaulted
550 #ifndef configBSP430_TIMER_CCACLK_CC0_PORT_HAL
551 #define configBSP430_TIMER_CCACLK_CC0_PORT_HAL indirectly defaulted 0
574 #ifndef configBSP430_TIMER_CCACLK_CC1_PORT
575 #define configBSP430_TIMER_CCACLK_CC1_PORT indirectly defaulted
589 #ifndef configBSP430_TIMER_CCACLK_CC1_PORT_HAL
590 #define configBSP430_TIMER_CCACLK_CC1_PORT_HAL indirectly defaulted 0
603 #if defined(BSP430_DOXYGEN)
604 #define BSP430_TIMER_CCACLK_ACLK_CCIDX include <bsp430/platform.h>
615 #if defined(BSP430_DOXYGEN)
616 #define BSP430_TIMER_CCACLK_ACLK_CCIS include <bsp430/platform.h>
628 #if defined(BSP430_DOXYGEN)
629 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID platform or application specific
637 #if defined(BSP430_DOXYGEN)
638 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE derived platform or application specific
642 #elif BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT1
643 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
645 #elif BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT2
646 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
648 #elif BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT3
649 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT3
651 #elif BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT4
652 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
654 #elif BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT5
655 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT5
657 #elif BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT6
658 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT6
660 #elif BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT7
661 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT7
663 #elif BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT8
664 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT8
666 #elif BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT9
667 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT9
669 #elif BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT10
670 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT10
672 #elif BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT11
673 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT11
685 #if defined(BSP430_DOXYGEN)
686 #define BSP430_TIMER_CCACLK_CLK_PORT_BIT include <bsp430/platform.h>
699 #if defined(BSP430_DOXYGEN)
700 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID platform or application specific
707 #if defined(BSP430_DOXYGEN)
708 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE derived platform or application specific
712 #elif BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT1
713 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
715 #elif BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT2
716 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
718 #elif BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT3
719 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT3
721 #elif BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT4
722 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
724 #elif BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT5
725 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT5
727 #elif BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT6
728 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT6
730 #elif BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT7
731 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT7
733 #elif BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT8
734 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT8
736 #elif BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT9
737 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT9
739 #elif BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT10
740 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT10
742 #elif BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT11
743 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT11
755 #if defined(BSP430_DOXYGEN)
756 #define BSP430_TIMER_CCACLK_CC0_PORT_BIT include <bsp430/platform.h>
767 #ifndef BSP430_TIMER_CCACLK_CC0_CCIS
768 #define BSP430_TIMER_CCACLK_CC0_CCIS CCIS_0
780 #if defined(BSP430_DOXYGEN)
781 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID platform or application specific
789 #if defined(BSP430_DOXYGEN)
790 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE derived platform or application specific
794 #elif BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT1
795 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
797 #elif BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT2
798 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
800 #elif BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT3
801 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT3
803 #elif BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT4
804 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
806 #elif BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT5
807 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT5
809 #elif BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT6
810 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT6
812 #elif BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT7
813 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT7
815 #elif BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT8
816 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT8
818 #elif BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT9
819 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT9
821 #elif BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT10
822 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT10
824 #elif BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID == BSP430_PERIPH_CPPID_PORT11
825 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT11
837 #if defined(BSP430_DOXYGEN)
838 #define BSP430_TIMER_CCACLK_CC1_PORT_BIT include <bsp430/platform.h>
849 #ifndef BSP430_TIMER_CCACLK_CC1_CCIS
850 #define BSP430_TIMER_CCACLK_CC1_CCIS CCIS_0
877 #ifndef configBSP430_TIMER_VALID_COUNTER_READ
878 #define configBSP430_TIMER_VALID_COUNTER_READ 1
882 #ifdef configBSP430_TIMER_SAFE_COUNTER_READ
883 #warning configBSP430_TIMER_SAFE_COUNTER_READ has been superseded by configBSP430_TIMER_VALID_COUNTER_READ
929 #if defined(BSP430_DOXYGEN) || (configBSP430_TIMER_VALID_COUNTER_READ - 0)
930 #ifndef BSP430_TIMER_VALID_COUNTER_READ_CCIDX
931 #define BSP430_TIMER_VALID_COUNTER_READ_CCIDX 2
987 unsigned int capture_mode,
1027 #if defined(__MSP430_HAS_MSP430XV2_CPU__)
1041 #if defined(__MSP430_HAS_T0A3__)
1042 #define BSP430_PERIPH_TA0_BASEADDRESS_ __MSP430_BASEADDRESS_T0A3__
1044 #define BSP430_PERIPH_TA0_BASEADDRESS_ __MSP430_BASEADDRESS_T0A5__
1047 #if defined(__MSP430_HAS_T1A2__)
1048 #define BSP430_PERIPH_TA1_BASEADDRESS_ __MSP430_BASEADDRESS_T1A2__
1050 #define BSP430_PERIPH_TA1_BASEADDRESS_ __MSP430_BASEADDRESS_T1A3__
1053 #if defined(__MSP430_HAS_T2A2__)
1054 #define BSP430_PERIPH_TA2_BASEADDRESS_ __MSP430_BASEADDRESS_T2A2__
1056 #define BSP430_PERIPH_TA2_BASEADDRESS_ __MSP430_BASEADDRESS_T2A3__
1059 #if defined(__MSP430_HAS_T3A2__)
1060 #define BSP430_PERIPH_TA3_BASEADDRESS_ __MSP430_BASEADDRESS_T3A2__
1062 #define BSP430_PERIPH_TA3_BASEADDRESS_ __MSP430_BASEADDRESS_T3A3__
1065 #if defined(__MSP430_HAS_T0B3__)
1066 #define BSP430_PERIPH_TB0_BASEADDRESS_ __MSP430_BASEADDRESS_T0B3__
1068 #define BSP430_PERIPH_TB0_BASEADDRESS_ __MSP430_BASEADDRESS_T0B7__
1071 #define BSP430_PERIPH_TB1_BASEADDRESS_ __MSP430_BASEADDRESS_T1B3__
1072 #define BSP430_PERIPH_TB2_BASEADDRESS_ __MSP430_BASEADDRESS_T2B3__
1080 #define BSP430_PERIPH_TA0_BASEADDRESS_ 0x0160
1084 #define BSP430_PERIPH_TA1_BASEADDRESS_ 0x0180
1085 #define BSP430_PERIPH_TB0_BASEADDRESS_ 0x0180
1090 #if defined(TIMERA0_VECTOR) && ! defined(TIMER0_A0_VECTOR)
1091 #define TIMER0_A0_VECTOR TIMERA0_VECTOR
1093 #if defined(TIMERA1_VECTOR) && ! defined(TIMER0_A1_VECTOR)
1094 #define TIMER0_A1_VECTOR TIMERA1_VECTOR
1096 #if defined(TIMERB0_VECTOR) && ! defined(TIMER0_B0_VECTOR)
1097 #define TIMER0_B0_VECTOR TIMERB0_VECTOR
1099 #if defined(TIMERB1_VECTOR) && ! defined(TIMER0_B1_VECTOR)
1100 #define TIMER0_B1_VECTOR TIMERB1_VECTOR
1107 #define BSP430_TIMER_HAL_HPL_VARIANT_TIMER 1
1115 #define BSP430_TIMER_FLAG_MCLKSYNC 0x01
1125 #define BSP430_TIMER_FLAG_SLOW 0x02
1267 unsigned int * overflowp);
1280 unsigned int * overflowp)
1312 unsigned int overflow;
1315 unsigned long long ull;
1323 ull <<= 8 *
sizeof(ul);
1349 unsigned int ccidx);
1373 unsigned int overflow,
1374 unsigned long counter);
1411 #define BSP430_TIMER_ALARM_FLAG_SET 0x01
1416 #define BSP430_TIMER_ALARM_FLAG_ENABLED 0x02
1604 #ifndef BSP430_TIMER_ALARM_FUTURE_LIMIT
1605 #define BSP430_TIMER_ALARM_FUTURE_LIMIT 3UL
1613 #define BSP430_TIMER_ALARM_SET_NOW 1
1619 #define BSP430_TIMER_ALARM_SET_PAST 2
1625 #define BSP430_TIMER_ALARM_SET_ALREADY -2
1654 unsigned long setting_tck);
1685 unsigned long setting_tck);
1693 unsigned long setting_tck)
1915 #define BSP430_TIMER_PULSECAP_START_VALID 0x01
1920 #define BSP430_TIMER_PULSECAP_END_VALID 0x02
1932 #define BSP430_TIMER_PULSECAP_OVERFLOW 0x04
1942 #define BSP430_TIMER_PULSECAP_ACTIVE_HIGH 0x08
1947 #define BSP430_TIMER_PULSECAP_START_CALLBACK 0x100
1952 #define BSP430_TIMER_PULSECAP_END_CALLBACK 0x200
1956 #define BSP430_TIMER_PULSECAP_CALLBACK_ACTIVE 0x0400
1961 #define BSP430_TIMER_PULSECAP_ENABLED 0x1000
1965 #define BSP430_TIMER_PULSECAP_ACTIVE 0x2000
2054 hBSP430timerPulseCapture
2247 unsigned int flags = pulsecap->
flags_ni;
2277 #ifndef configBSP430_HAL_TA0
2278 #define configBSP430_HAL_TA0 0
2282 #if (configBSP430_HAL_TA0 - 0)
2294 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_TA0 - 0)
2295 #define BSP430_HAL_TA0 (&xBSP430hal_TA0_)
2314 #ifndef configBSP430_HAL_TA1
2315 #define configBSP430_HAL_TA1 0
2319 #if (configBSP430_HAL_TA1 - 0)
2331 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_TA1 - 0)
2332 #define BSP430_HAL_TA1 (&xBSP430hal_TA1_)
2351 #ifndef configBSP430_HAL_TA2
2352 #define configBSP430_HAL_TA2 0
2356 #if (configBSP430_HAL_TA2 - 0)
2368 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_TA2 - 0)
2369 #define BSP430_HAL_TA2 (&xBSP430hal_TA2_)
2388 #ifndef configBSP430_HAL_TA3
2389 #define configBSP430_HAL_TA3 0
2393 #if (configBSP430_HAL_TA3 - 0)
2405 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_TA3 - 0)
2406 #define BSP430_HAL_TA3 (&xBSP430hal_TA3_)
2425 #ifndef configBSP430_HAL_TB0
2426 #define configBSP430_HAL_TB0 0
2430 #if (configBSP430_HAL_TB0 - 0)
2442 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_TB0 - 0)
2443 #define BSP430_HAL_TB0 (&xBSP430hal_TB0_)
2462 #ifndef configBSP430_HAL_TB1
2463 #define configBSP430_HAL_TB1 0
2467 #if (configBSP430_HAL_TB1 - 0)
2479 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_TB1 - 0)
2480 #define BSP430_HAL_TB1 (&xBSP430hal_TB1_)
2499 #ifndef configBSP430_HAL_TB2
2500 #define configBSP430_HAL_TB2 0
2504 #if (configBSP430_HAL_TB2 - 0)
2516 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_TB2 - 0)
2517 #define BSP430_HAL_TB2 (&xBSP430hal_TB2_)
2540 #ifndef configBSP430_HPL_TA0
2541 #define configBSP430_HPL_TA0 (configBSP430_HAL_TA0 - 0)
2544 #if (configBSP430_HAL_TA0 - 0) && ! (configBSP430_HPL_TA0 - 0)
2545 #warning configBSP430_HAL_TA0 requested without configBSP430_HPL_TA0
2554 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TA0 - 0)
2555 #define BSP430_PERIPH_TA0 ((tBSP430periphHandle)(BSP430_PERIPH_TA0_BASEADDRESS_))
2573 #ifndef configBSP430_HPL_TA1
2574 #define configBSP430_HPL_TA1 (configBSP430_HAL_TA1 - 0)
2577 #if (configBSP430_HAL_TA1 - 0) && ! (configBSP430_HPL_TA1 - 0)
2578 #warning configBSP430_HAL_TA1 requested without configBSP430_HPL_TA1
2587 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TA1 - 0)
2588 #define BSP430_PERIPH_TA1 ((tBSP430periphHandle)(BSP430_PERIPH_TA1_BASEADDRESS_))
2606 #ifndef configBSP430_HPL_TA2
2607 #define configBSP430_HPL_TA2 (configBSP430_HAL_TA2 - 0)
2610 #if (configBSP430_HAL_TA2 - 0) && ! (configBSP430_HPL_TA2 - 0)
2611 #warning configBSP430_HAL_TA2 requested without configBSP430_HPL_TA2
2620 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TA2 - 0)
2621 #define BSP430_PERIPH_TA2 ((tBSP430periphHandle)(BSP430_PERIPH_TA2_BASEADDRESS_))
2639 #ifndef configBSP430_HPL_TA3
2640 #define configBSP430_HPL_TA3 (configBSP430_HAL_TA3 - 0)
2643 #if (configBSP430_HAL_TA3 - 0) && ! (configBSP430_HPL_TA3 - 0)
2644 #warning configBSP430_HAL_TA3 requested without configBSP430_HPL_TA3
2653 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TA3 - 0)
2654 #define BSP430_PERIPH_TA3 ((tBSP430periphHandle)(BSP430_PERIPH_TA3_BASEADDRESS_))
2672 #ifndef configBSP430_HPL_TB0
2673 #define configBSP430_HPL_TB0 (configBSP430_HAL_TB0 - 0)
2676 #if (configBSP430_HAL_TB0 - 0) && ! (configBSP430_HPL_TB0 - 0)
2677 #warning configBSP430_HAL_TB0 requested without configBSP430_HPL_TB0
2686 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TB0 - 0)
2687 #define BSP430_PERIPH_TB0 ((tBSP430periphHandle)(BSP430_PERIPH_TB0_BASEADDRESS_))
2705 #ifndef configBSP430_HPL_TB1
2706 #define configBSP430_HPL_TB1 (configBSP430_HAL_TB1 - 0)
2709 #if (configBSP430_HAL_TB1 - 0) && ! (configBSP430_HPL_TB1 - 0)
2710 #warning configBSP430_HAL_TB1 requested without configBSP430_HPL_TB1
2719 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TB1 - 0)
2720 #define BSP430_PERIPH_TB1 ((tBSP430periphHandle)(BSP430_PERIPH_TB1_BASEADDRESS_))
2738 #ifndef configBSP430_HPL_TB2
2739 #define configBSP430_HPL_TB2 (configBSP430_HAL_TB2 - 0)
2742 #if (configBSP430_HAL_TB2 - 0) && ! (configBSP430_HPL_TB2 - 0)
2743 #warning configBSP430_HAL_TB2 requested without configBSP430_HPL_TB2
2752 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TB2 - 0)
2753 #define BSP430_PERIPH_TB2 ((tBSP430periphHandle)(BSP430_PERIPH_TB2_BASEADDRESS_))
2768 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TA0 - 0)
2769 #define BSP430_HPL_TA0 ((volatile sBSP430hplTIMER *)BSP430_PERIPH_TA0)
2779 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TA1 - 0)
2780 #define BSP430_HPL_TA1 ((volatile sBSP430hplTIMER *)BSP430_PERIPH_TA1)
2790 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TA2 - 0)
2791 #define BSP430_HPL_TA2 ((volatile sBSP430hplTIMER *)BSP430_PERIPH_TA2)
2801 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TA3 - 0)
2802 #define BSP430_HPL_TA3 ((volatile sBSP430hplTIMER *)BSP430_PERIPH_TA3)
2812 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TB0 - 0)
2813 #define BSP430_HPL_TB0 ((volatile sBSP430hplTIMER *)BSP430_PERIPH_TB0)
2823 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TB1 - 0)
2824 #define BSP430_HPL_TB1 ((volatile sBSP430hplTIMER *)BSP430_PERIPH_TB1)
2834 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_TB2 - 0)
2835 #define BSP430_HPL_TB2 ((volatile sBSP430hplTIMER *)BSP430_PERIPH_TB2)
2857 #if defined(BSP430_DOXYGEN)
2858 #define configBSP430_HAL_TA0_CC0_ISR 0
2861 #if (configBSP430_HAL_TA0_CC0_ISR - 0) && ! (configBSP430_HAL_TA0 - 0)
2862 #warning configBSP430_HAL_TA0_CC0_ISR requested without configBSP430_HAL_TA0
2883 #ifndef configBSP430_HAL_TA0_ISR
2884 #define configBSP430_HAL_TA0_ISR (configBSP430_HAL_TA0 - 0)
2887 #if (configBSP430_HAL_TA0_ISR - 0) && ! (configBSP430_HAL_TA0 - 0)
2888 #warning configBSP430_HAL_TA0_ISR requested without configBSP430_HAL_TA0
2905 #if defined(BSP430_DOXYGEN)
2906 #define configBSP430_HAL_TA1_CC0_ISR 0
2909 #if (configBSP430_HAL_TA1_CC0_ISR - 0) && ! (configBSP430_HAL_TA1 - 0)
2910 #warning configBSP430_HAL_TA1_CC0_ISR requested without configBSP430_HAL_TA1
2931 #ifndef configBSP430_HAL_TA1_ISR
2932 #define configBSP430_HAL_TA1_ISR (configBSP430_HAL_TA1 - 0)
2935 #if (configBSP430_HAL_TA1_ISR - 0) && ! (configBSP430_HAL_TA1 - 0)
2936 #warning configBSP430_HAL_TA1_ISR requested without configBSP430_HAL_TA1
2953 #if defined(BSP430_DOXYGEN)
2954 #define configBSP430_HAL_TA2_CC0_ISR 0
2957 #if (configBSP430_HAL_TA2_CC0_ISR - 0) && ! (configBSP430_HAL_TA2 - 0)
2958 #warning configBSP430_HAL_TA2_CC0_ISR requested without configBSP430_HAL_TA2
2979 #ifndef configBSP430_HAL_TA2_ISR
2980 #define configBSP430_HAL_TA2_ISR (configBSP430_HAL_TA2 - 0)
2983 #if (configBSP430_HAL_TA2_ISR - 0) && ! (configBSP430_HAL_TA2 - 0)
2984 #warning configBSP430_HAL_TA2_ISR requested without configBSP430_HAL_TA2
3001 #if defined(BSP430_DOXYGEN)
3002 #define configBSP430_HAL_TA3_CC0_ISR 0
3005 #if (configBSP430_HAL_TA3_CC0_ISR - 0) && ! (configBSP430_HAL_TA3 - 0)
3006 #warning configBSP430_HAL_TA3_CC0_ISR requested without configBSP430_HAL_TA3
3027 #ifndef configBSP430_HAL_TA3_ISR
3028 #define configBSP430_HAL_TA3_ISR (configBSP430_HAL_TA3 - 0)
3031 #if (configBSP430_HAL_TA3_ISR - 0) && ! (configBSP430_HAL_TA3 - 0)
3032 #warning configBSP430_HAL_TA3_ISR requested without configBSP430_HAL_TA3
3049 #if defined(BSP430_DOXYGEN)
3050 #define configBSP430_HAL_TB0_CC0_ISR 0
3053 #if (configBSP430_HAL_TB0_CC0_ISR - 0) && ! (configBSP430_HAL_TB0 - 0)
3054 #warning configBSP430_HAL_TB0_CC0_ISR requested without configBSP430_HAL_TB0
3075 #ifndef configBSP430_HAL_TB0_ISR
3076 #define configBSP430_HAL_TB0_ISR (configBSP430_HAL_TB0 - 0)
3079 #if (configBSP430_HAL_TB0_ISR - 0) && ! (configBSP430_HAL_TB0 - 0)
3080 #warning configBSP430_HAL_TB0_ISR requested without configBSP430_HAL_TB0
3097 #if defined(BSP430_DOXYGEN)
3098 #define configBSP430_HAL_TB1_CC0_ISR 0
3101 #if (configBSP430_HAL_TB1_CC0_ISR - 0) && ! (configBSP430_HAL_TB1 - 0)
3102 #warning configBSP430_HAL_TB1_CC0_ISR requested without configBSP430_HAL_TB1
3123 #ifndef configBSP430_HAL_TB1_ISR
3124 #define configBSP430_HAL_TB1_ISR (configBSP430_HAL_TB1 - 0)
3127 #if (configBSP430_HAL_TB1_ISR - 0) && ! (configBSP430_HAL_TB1 - 0)
3128 #warning configBSP430_HAL_TB1_ISR requested without configBSP430_HAL_TB1
3145 #if defined(BSP430_DOXYGEN)
3146 #define configBSP430_HAL_TB2_CC0_ISR 0
3149 #if (configBSP430_HAL_TB2_CC0_ISR - 0) && ! (configBSP430_HAL_TB2 - 0)
3150 #warning configBSP430_HAL_TB2_CC0_ISR requested without configBSP430_HAL_TB2
3171 #ifndef configBSP430_HAL_TB2_ISR
3172 #define configBSP430_HAL_TB2_ISR (configBSP430_HAL_TB2 - 0)
3175 #if (configBSP430_HAL_TB2_ISR - 0) && ! (configBSP430_HAL_TB2 - 0)
3176 #warning configBSP430_HAL_TB2_ISR requested without configBSP430_HAL_TB2
3196 #if (configBSP430_HPL_TA0 - 0)
3202 #if (configBSP430_HPL_TA1 - 0)
3208 #if (configBSP430_HPL_TA2 - 0)
3214 #if (configBSP430_HPL_TA3 - 0)
3220 #if (configBSP430_HPL_TB0 - 0)
3226 #if (configBSP430_HPL_TB1 - 0)
3232 #if (configBSP430_HPL_TB2 - 0)
3256 #if (configBSP430_HAL_TA0 - 0)
3262 #if (configBSP430_HAL_TA1 - 0)
3268 #if (configBSP430_HAL_TA2 - 0)
3274 #if (configBSP430_HAL_TA3 - 0)
3280 #if (configBSP430_HAL_TB0 - 0)
3286 #if (configBSP430_HAL_TB1 - 0)
3292 #if (configBSP430_HAL_TB2 - 0)
3471 #if (configBSP430_TIMER_VALID_COUNTER_READ - 0)
3472 #if ! (BSP430_CORE_NDEBUG - 0)
3474 while ((NULL == hpl)
3521 #if (configBSP430_TIMER_VALID_COUNTER_READ - 0)
3522 #if ! (BSP430_CORE_NDEBUG - 0)
3528 #if ! (BSP430_CORE_NDEBUG - 0)
sBSP430halISRIndexedChainNode cb
Definition: timer.h:1984
#define BSP430_TIMER_PULSECAP_ACTIVE_HIGH
Definition: timer.h:1942
unsigned int cctl1
Definition: timer.h:999
unsigned long ulBSP430timerCounter_ni(hBSP430halTIMER timer, unsigned int *overflowp)
#define BSP430_PERIPH_TA3
Definition: timer.h:2654
volatile unsigned long start_tt_ni
Definition: timer.h:2011
#define BSP430_HPL_TB0
Definition: timer.h:2813
int iBSP430timerPulseCaptureSetEnabled_ni(hBSP430timerPulseCapture pulsecap, int enablep)
struct sBSP430timerMuxAlarm * next
Definition: timer.h:1803
int ccidx
Definition: timer.h:1990
#define BSP430_TIMER_PULSECAP_END_VALID
Definition: timer.h:1920
#define BSP430_CORE_RESTORE_INTERRUPT_STATE(state_)
Definition: core.h:731
unsigned int cctl0
Definition: timer.h:998
#define BSP430_TIMER_VALID_COUNTER_READ_CCIDX
Definition: timer.h:931
static BSP430_CORE_INLINE int iBSP430timerPulseCaptureDeactivate(hBSP430timerPulseCapture pulsecap)
Definition: timer.h:2220
void vBSP430timerSetCounter_ni(hBSP430halTIMER timer, unsigned int overflow, unsigned long counter)
hBSP430timerPulseCapture hBSP430timerPulseCaptureInitialize(hBSP430timerPulseCapture pulsecap, tBSP430periphHandle periph, int ccidx, unsigned int ccis, unsigned int flags, iBSP430timerPulseCaptureCallback_ni callback)
static BSP430_CORE_INLINE_FORCED unsigned int uiBSP430timerSafeCounterRead_ni(volatile sBSP430hplTIMER *const hpl)
Definition: timer.h:3518
static BSP430_CORE_INLINE_FORCED unsigned int uiBSP430timerSyncCounterRead_ni(volatile sBSP430hplTIMER *const hpl)
Definition: timer.h:3342
unsigned long setting_tck
Definition: timer.h:1794
struct sBSP430halTIMER * hBSP430halTIMER
Definition: timer.h:1169
static BSP430_CORE_INLINE hBSP430halTIMER hBSP430timerLookup(tBSP430periphHandle periph)
Definition: timer.h:3252
unsigned int ccr6
Definition: timer.h:1017
iBSP430timerAlarmCallback_ni callback_ni
Definition: timer.h:1464
static BSP430_CORE_INLINE int iBSP430timerPulseCaptureActivate(hBSP430timerPulseCapture pulsecap)
Definition: timer.h:2196
static BSP430_CORE_INLINE int iBSP430timerPulseCaptureDisable(hBSP430timerPulseCapture pulsecap)
Definition: timer.h:2145
#define CCIS0
Definition: msp430.h:174
struct sBSP430timerPulseCapture * hBSP430timerPulseCapture
Definition: timer.h:2020
iBSP430timerPulseCaptureCallback_ni callback_ni
Definition: timer.h:1999
int iBSP430timerMuxAlarmRemove_ni(hBSP430timerMuxSharedAlarm shared, hBSP430timerMuxAlarm alarm)
int iBSP430timerMuxAlarmShutdown(sBSP430timerMuxSharedAlarm *shared)
unsigned int uiBSP430timerCaptureDelta_ni(tBSP430periphHandle periph, int ccidx, unsigned int capture_mode, unsigned int ccis, unsigned int count)
static BSP430_CORE_INLINE unsigned long long ullBSP430timerCorrected(hBSP430halTIMER timer, unsigned int ctr)
Definition: timer.h:1308
static BSP430_CORE_INLINE_FORCED unsigned int uiBSP430timerLatchedCounterRead_ni(volatile sBSP430hplTIMER *const hpl, int ccidx)
Definition: timer.h:3434
#define CCIS1
Definition: msp430.h:173
void vBSP430timerResetCounter_ni(hBSP430halTIMER timer)
unsigned int ccis
Definition: timer.h:1994
static BSP430_CORE_INLINE void vBSP430timerPulseCaptureClear_ni(hBSP430timerPulseCapture pulsecap)
Definition: timer.h:2127
struct sBSP430timerMuxSharedAlarm sBSP430timerMuxSharedAlarm
unsigned long overflow_count
Definition: timer.h:1150
sBSP430halISRVoidChainNode overflow_cb
Definition: timer.h:1473
unsigned int ccr1
Definition: timer.h:1012
static BSP430_CORE_INLINE unsigned long ulBSP430timerCounter(hBSP430halTIMER timer, unsigned int *overflowp)
Definition: timer.h:1279
#define BSP430_TIMER_PULSECAP_OVERFLOW
Definition: timer.h:1932
unsigned long ulBSP430timerFrequency_Hz_ni(tBSP430periphHandle periph)
Clock-related functions implemented on all MSP430 MCUs.
hBSP430timerMuxSharedAlarm hBSP430timerMuxAlarmStartup(sBSP430timerMuxSharedAlarm *shared, tBSP430periphHandle periph, int ccidx)
#define BSP430_HAL_TA0
Definition: timer.h:2295
unsigned char ccidx
Definition: timer.h:1435
eBSP430clockSource
Definition: clock.h:362
static BSP430_CORE_INLINE tBSP430periphHandle xBSP430periphFromHPL(volatile void *hpl)
Definition: periph.h:306
#define BSP430_HAL_TB1
Definition: timer.h:2480
#define BSP430_HPL_TB1
Definition: timer.h:2824
#define BSP430_PERIPH_TA0
Definition: timer.h:2555
hBSP430timerAlarm hBSP430timerAlarmInitialize(sBSP430timerAlarm *alarm, tBSP430periphHandle periph, int ccidx, iBSP430timerAlarmCallback_ni callback)
#define BSP430_TIMER_FLAG_SLOW
Definition: timer.h:1125
#define BSP430_PERIPH_TB1
Definition: timer.h:2720
const struct sBSP430halISRIndexedChainNode *volatile *const cc_cbchain_ni
Definition: timer.h:1165
void vBSP430timerInferHints_ni(hBSP430halTIMER timer)
unsigned int r
Definition: timer.h:1007
static BSP430_CORE_INLINE unsigned long ulBSP430timerMuxSharedAlarmCounter(sBSP430timerMuxSharedAlarm *shared)
Definition: timer.h:1855
unsigned int ccr3
Definition: timer.h:1014
unsigned int ccr2
Definition: timer.h:1013
#define BSP430_HAL_TB2
Definition: timer.h:2517
#define BSP430_CORE_INLINE
Definition: core.h:439
struct sBSP430timerMuxAlarm sBSP430timerMuxAlarm
unsigned long setting_tck
Definition: timer.h:1455
sBSP430hplHALStatePrefix hal_state
Definition: timer.h:1133
const char * xBSP430timerName(tBSP430periphHandle periph)
Generic peripheral support for MSP430 MCUs.
#define BSP430_CORE_SAVED_INTERRUPT_STATE(var_)
Definition: core.h:719
sBSP430timerAlarm dedicated
Definition: timer.h:1770
#define BSP430_HAL_TB0
Definition: timer.h:2443
#define BSP430_PERIPH_TA2
Definition: timer.h:2621
#define CAP
Definition: msp430.h:189
static BSP430_CORE_INLINE void vBSP430timerSafeCounterInitialize_ni(volatile sBSP430hplTIMER *const hpl)
Definition: timer.h:3469
#define BSP430_HAL_TA1
Definition: timer.h:2332
#define BSP430_HPL_TA1
Definition: timer.h:2780
sBSP430halISRIndexedChainNode cc_cb
Definition: timer.h:1482
const struct sBSP430halISRVoidChainNode *volatile overflow_cbchain_ni
Definition: timer.h:1156
static BSP430_CORE_INLINE int iBSP430timerAlarmEnable(hBSP430timerAlarm alarm)
Definition: timer.h:1563
static BSP430_CORE_INLINE int iBSP430timerAlarmSet(hBSP430timerAlarm alarm, unsigned long setting_tck)
Definition: timer.h:1692
#define BSP430_PERIPH_TA1
Definition: timer.h:2588
unsigned int cctl3
Definition: timer.h:1001
static BSP430_CORE_INLINE_FORCED unsigned int uiBSP430timerAsyncCounterRead_ni(volatile sBSP430hplTIMER *const hpl)
Definition: timer.h:3375
#define BSP430_TIMER_PULSECAP_START_VALID
Definition: timer.h:1915
eBSP430clockSource xBSP430timerClockSource(volatile sBSP430hplTIMER *hpl)
unsigned int ccr[7]
Definition: timer.h:1009
struct sBSP430halTIMER sBSP430halTIMER
unsigned int ccr5
Definition: timer.h:1016
unsigned int cctl5
Definition: timer.h:1003
hBSP430halTIMER timer
Definition: timer.h:1429
int iBSP430timerPulseCaptureSetActive_ni(hBSP430timerPulseCapture pulsecap, int activep)
unsigned int cctl[7]
Definition: timer.h:996
#define BSP430_PERIPH_TB0
Definition: timer.h:2687
int iBSP430timerMuxAlarmAdd_ni(hBSP430timerMuxSharedAlarm shared, hBSP430timerMuxAlarm alarm)
unsigned int ctl
Definition: timer.h:994
iBSP430timerMuxAlarmCallback_ni callback_ni
Definition: timer.h:1797
int(* iBSP430timerAlarmCallback_ni)(hBSP430timerAlarm alarm)
Definition: timer.h:1406
static BSP430_CORE_INLINE_FORCED unsigned int uiBSP430timerBestCounterRead_ni(volatile sBSP430hplTIMER *const hpl, int flags)
Definition: timer.h:3578
#define BSP430_CORE_INLINE_FORCED
Definition: core.h:454
const struct sBSP430timerAlarm * hBSP430timerAlarm
Definition: timer.h:1386
static BSP430_CORE_INLINE volatile sBSP430hplTIMER * xBSP430hplLookupTIMER(tBSP430periphHandle periph)
Definition: timer.h:3192
sBSP430timerMuxAlarm * hBSP430timerMuxAlarm
Definition: timer.h:1808
int iBSP430timerAlarmSet_ni(hBSP430timerAlarm alarm, unsigned long setting_tck)
int iBSP430timerAlarmSetForced_ni(hBSP430timerAlarm alarm, unsigned long setting_tck)
unsigned int cctl2
Definition: timer.h:1000
int iBSP430timerSupportedCCs(tBSP430periphHandle periph)
struct sBSP430timerAlarm sBSP430timerAlarm
#define BSP430_CORE_DISABLE_INTERRUPT()
Definition: core.h:762
volatile unsigned int flags_ni
Definition: timer.h:2006
struct sBSP430hplTIMER sBSP430hplTIMER
unsigned char flags
Definition: timer.h:1443
int(* iBSP430timerMuxAlarmCallback_ni)(struct sBSP430timerMuxSharedAlarm *shared, struct sBSP430timerMuxAlarm *alarm)
Definition: timer.h:1757
unsigned int ccr4
Definition: timer.h:1015
static BSP430_CORE_INLINE int iBSP430timerAlarmCancel(hBSP430timerAlarm alarm)
Definition: timer.h:1727
sBSP430timerMuxSharedAlarm * hBSP430timerMuxSharedAlarm
Definition: timer.h:1779
unsigned long ulBSP430timerOverflowAdjusted_ni(hBSP430halTIMER timer, unsigned int ctr)
#define BSP430_HPL_TB2
Definition: timer.h:2835
volatile sBSP430hplTIMER *const hpl
Definition: timer.h:1136
struct sBSP430timerMuxAlarm * alarms
Definition: timer.h:1774
int tBSP430periphHandle
Definition: periph.h:106
#define BSP430_HAL_TA2
Definition: timer.h:2369
#define BSP430_HPL_TA2
Definition: timer.h:2791
#define CCIFG
Definition: msp430.h:185
static BSP430_CORE_INLINE int iBSP430timerAlarmDisable(hBSP430timerAlarm alarm)
Definition: timer.h:1584
unsigned int ccr0
Definition: timer.h:1011
int iBSP430timerAlarmSetEnabled_ni(hBSP430timerAlarm alarm, int enablep)
unsigned int cctl6
Definition: timer.h:1004
#define BSP430_HPL_TA3
Definition: timer.h:2802
#define CM_3
Definition: msp430.h:168
static BSP430_CORE_INLINE void vBSP430timerPulseCaptureInvertSense_ni(hBSP430timerPulseCapture pulsecap)
Definition: timer.h:2245
#define BSP430_TIMER_FLAG_MCLKSYNC
Definition: timer.h:1115
unsigned long ulBSP430timerCaptureCounter_ni(hBSP430halTIMER timer, unsigned int ccidx)
#define BSP430_HPL_TA0
Definition: timer.h:2769
static BSP430_CORE_INLINE int iBSP430timerPulseCaptureEnable(hBSP430timerPulseCapture pulsecap)
Definition: timer.h:2168
int iBSP430timerAlarmCancel_ni(hBSP430timerAlarm alarm)
volatile unsigned long end_tt_ni
Definition: timer.h:2016
#define BSP430_PERIPH_TB2
Definition: timer.h:2753
unsigned int cctl4
Definition: timer.h:1002
#define BSP430_HAL_TA3
Definition: timer.h:2406
int(* iBSP430timerPulseCaptureCallback_ni)(struct sBSP430timerPulseCapture *state)
Definition: timer.h:1977
struct sBSP430timerPulseCapture sBSP430timerPulseCapture
hBSP430halTIMER hal
Definition: timer.h:1987
static BSP430_CORE_INLINE_FORCED void vBSP430timerLatchedCounterInitialize_ni(volatile sBSP430hplTIMER *const hpl, int ccidx)
Definition: timer.h:3398