Home
last modified time | relevance | path

Searched refs:counter_mode (Results 1 – 23 of 23) sorted by relevance

/hal_stm32-latest/stm32cube/stm32l0xx/drivers/include/
Dstm32l0xx_ll_tim.h1063 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1065 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1067 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1069 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1072 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_ll_tim.h1045 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1047 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1049 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1051 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1054 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/include/
Dstm32f0xx_ll_tim.h1235 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1237 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1239 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1241 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1244 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/include/
Dstm32f2xx_ll_tim.h1256 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1258 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1260 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1262 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1265 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/include/
Dstm32f1xx_ll_tim.h1216 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1218 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1220 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1222 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1225 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_ll_tim.h1278 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1280 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1282 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1284 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1287 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/include/
Dstm32wb0x_ll_tim.h1439 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1441 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1443 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1445 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1448 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_ll_tim.h1623 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1625 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1627 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1629 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1632 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/include/
Dstm32u0xx_ll_tim.h1625 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1627 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1629 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1631 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1634 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/include/
Dstm32f7xx_ll_tim.h1475 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1477 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1479 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1481 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1484 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_ll_tim.h1550 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1552 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1554 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1556 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1559 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/include/
Dstm32wlxx_ll_tim.h1580 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1582 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1584 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1586 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1589 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/include/
Dstm32f3xx_ll_tim.h1584 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1586 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1588 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1590 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1593 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_tim.h1748 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1750 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1752 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1754 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1757 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_ll_tim.h1649 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1651 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1653 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1655 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1658 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_ll_tim.h1685 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1687 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1689 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1691 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1694 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_ll_tim.h1622 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1624 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1626 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1628 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1631 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/include/
Dstm32n6xx_ll_tim.h1909 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1911 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1913 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1915 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1918 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/include/
Dstm32h7rsxx_ll_tim.h1825 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1827 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1829 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1831 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1834 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/include/
Dstm32wbaxx_ll_tim.h1812 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
1814 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
1816 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
1818 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
1821 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_ll_tim.h2121 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
2123 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
2125 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
2127 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
2130 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_tim.h2052 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
2054 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
2056 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
2058 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
2061 return counter_mode; in LL_TIM_GetCounterMode()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_ll_tim.h2185 uint32_t counter_mode; in LL_TIM_GetCounterMode() local
2187 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CMS)); in LL_TIM_GetCounterMode()
2189 if (counter_mode == 0U) in LL_TIM_GetCounterMode()
2191 counter_mode = (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); in LL_TIM_GetCounterMode()
2194 return counter_mode; in LL_TIM_GetCounterMode()