/hal_stm32-3.7.0/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_ll_tim.c | 566 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 581 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 593 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 596 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 619 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 723 uint32_t tmpcr2; in OC1Config() local 738 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 769 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 772 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 776 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_ll_tim.c | 587 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 602 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 614 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 617 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 640 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 744 uint32_t tmpcr2; in OC1Config() local 759 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 790 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 793 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 797 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_ll_tim.c | 605 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 620 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 632 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 635 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 658 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 762 uint32_t tmpcr2; in OC1Config() local 779 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 808 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 811 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 815 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_ll_tim.c | 587 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 602 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 614 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 617 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 640 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 744 uint32_t tmpcr2; in OC1Config() local 761 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 790 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 793 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 797 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_ll_tim.c | 590 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 605 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 617 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 620 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 643 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 774 uint32_t tmpcr2; in OC1Config() local 789 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 820 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 823 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 827 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_ll_tim.c | 608 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 623 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 635 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 638 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 661 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 792 uint32_t tmpcr2; in OC1Config() local 807 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 838 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 841 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 845 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_ll_tim.c | 573 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 588 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 600 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 603 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 626 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 758 uint32_t tmpcr2; in OC1Config() local 775 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 804 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 807 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 811 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
D | stm32wlxx_hal_tim.c | 5612 uint32_t tmpcr2; in HAL_TIM_ConfigTI1Input() local 5619 tmpcr2 = htim->Instance->CR2; in HAL_TIM_ConfigTI1Input() 5622 tmpcr2 &= ~TIM_CR2_TI1S; in HAL_TIM_ConfigTI1Input() 5625 tmpcr2 |= TI1_Selection; in HAL_TIM_ConfigTI1Input() 5628 htim->Instance->CR2 = tmpcr2; in HAL_TIM_ConfigTI1Input() 6992 uint32_t tmpcr2; in TIM_OC1_SetConfig() local 7000 tmpcr2 = TIMx->CR2; in TIM_OC1_SetConfig() 7036 tmpcr2 &= ~TIM_CR2_OIS1; in TIM_OC1_SetConfig() 7037 tmpcr2 &= ~TIM_CR2_OIS1N; in TIM_OC1_SetConfig() 7039 tmpcr2 |= OC_Config->OCIdleState; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_ll_tim.c | 577 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 592 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 604 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 607 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 630 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 761 uint32_t tmpcr2; in OC1Config() local 776 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 807 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 810 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 814 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_ll_tim.c | 585 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 600 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 612 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 615 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 638 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 769 uint32_t tmpcr2; in OC1Config() local 786 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 815 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 818 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 822 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_ll_tim.c | 641 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 656 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 668 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 671 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 694 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 819 uint32_t tmpcr2; in OC1Config() local 834 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 865 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 868 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 872 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_ll_tim.c | 614 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 629 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 641 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 644 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 667 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 792 uint32_t tmpcr2; in OC1Config() local 809 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 838 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 841 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 845 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_ll_tim.c | 617 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 632 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 644 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 647 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 670 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 801 uint32_t tmpcr2; in OC1Config() local 816 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 847 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 850 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 854 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32h7rsxx/drivers/src/ |
D | stm32h7rsxx_ll_tim.c | 631 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 646 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 658 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 661 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 684 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 815 uint32_t tmpcr2; in OC1Config() local 830 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 861 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 864 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 868 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_ll_tim.c | 627 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 642 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 654 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 657 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 680 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 811 uint32_t tmpcr2; in OC1Config() local 828 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 857 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 860 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 864 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_ll_tim.c | 625 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 640 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 652 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 655 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 678 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 809 uint32_t tmpcr2; in OC1Config() local 824 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 855 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 858 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 862 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_ll_tim.c | 662 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 677 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 689 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 692 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 715 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 846 uint32_t tmpcr2; in OC1Config() local 861 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 892 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 895 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 899 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_ll_tim.c | 691 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 706 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 718 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 721 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 744 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 880 uint32_t tmpcr2; in OC1Config() local 895 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 926 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 929 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 933 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
D | stm32f3xx_hal_tim.c | 5635 uint32_t tmpcr2; in HAL_TIM_ConfigTI1Input() local 5642 tmpcr2 = htim->Instance->CR2; in HAL_TIM_ConfigTI1Input() 5645 tmpcr2 &= ~TIM_CR2_TI1S; in HAL_TIM_ConfigTI1Input() 5648 tmpcr2 |= TI1_Selection; in HAL_TIM_ConfigTI1Input() 5651 htim->Instance->CR2 = tmpcr2; in HAL_TIM_ConfigTI1Input() 7030 uint32_t tmpcr2; in TIM_OC1_SetConfig() local 7039 tmpcr2 = TIMx->CR2; in TIM_OC1_SetConfig() 7075 tmpcr2 &= ~TIM_CR2_OIS1; in TIM_OC1_SetConfig() 7076 tmpcr2 &= ~TIM_CR2_OIS1N; in TIM_OC1_SetConfig() 7078 tmpcr2 |= OC_Config->OCIdleState; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_ll_tim.c | 653 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 668 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 680 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 683 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 706 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 849 uint32_t tmpcr2; in OC1Config() local 864 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 895 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 898 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 902 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
D | stm32h7xx_hal_tim.c | 5607 uint32_t tmpcr2; in HAL_TIM_ConfigTI1Input() local 5614 tmpcr2 = htim->Instance->CR2; in HAL_TIM_ConfigTI1Input() 5617 tmpcr2 &= ~TIM_CR2_TI1S; in HAL_TIM_ConfigTI1Input() 5620 tmpcr2 |= TI1_Selection; in HAL_TIM_ConfigTI1Input() 5623 htim->Instance->CR2 = tmpcr2; in HAL_TIM_ConfigTI1Input() 6994 uint32_t tmpcr2; in TIM_OC1_SetConfig() local 7003 tmpcr2 = TIMx->CR2; in TIM_OC1_SetConfig() 7039 tmpcr2 &= ~TIM_CR2_OIS1; in TIM_OC1_SetConfig() 7040 tmpcr2 &= ~TIM_CR2_OIS1N; in TIM_OC1_SetConfig() 7042 tmpcr2 |= OC_Config->OCIdleState; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_ll_tim.c | 642 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local 657 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init() 669 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init() 672 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init() 695 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init() 828 uint32_t tmpcr2; in OC1Config() local 845 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 874 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config() 877 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config() 881 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() [all …]
|
D | stm32mp1xx_hal_tim.c | 4760 uint32_t tmpcr2; in HAL_TIM_ConfigTI1Input() local 4767 tmpcr2 = htim->Instance->CR2; in HAL_TIM_ConfigTI1Input() 4770 tmpcr2 &= ~TIM_CR2_TI1S; in HAL_TIM_ConfigTI1Input() 4773 tmpcr2 |= TI1_Selection; in HAL_TIM_ConfigTI1Input() 4776 htim->Instance->CR2 = tmpcr2; in HAL_TIM_ConfigTI1Input() 5998 uint32_t tmpcr2; in TIM_OC1_SetConfig() local 6006 tmpcr2 = TIMx->CR2; in TIM_OC1_SetConfig() 6042 tmpcr2 &= ~TIM_CR2_OIS1; in TIM_OC1_SetConfig() 6043 tmpcr2 &= ~TIM_CR2_OIS1N; in TIM_OC1_SetConfig() 6045 tmpcr2 |= OC_Config->OCIdleState; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_ll_tim.c | 502 uint32_t tmpcr2; in OC1Config() local 517 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 535 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() 561 uint32_t tmpcr2; in OC2Config() local 576 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC2Config() 594 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC2Config() 620 uint32_t tmpcr2; in OC3Config() local 635 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC3Config() 653 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC3Config() 679 uint32_t tmpcr2; in OC4Config() local [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_ll_tim.c | 479 uint32_t tmpcr2; in OC1Config() local 494 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config() 512 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config() 538 uint32_t tmpcr2; in OC2Config() local 553 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC2Config() 571 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC2Config() 597 uint32_t tmpcr2; in OC3Config() local 612 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC3Config() 630 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC3Config() 656 uint32_t tmpcr2; in OC4Config() local [all …]
|