| /bsp/hpmicro/libraries/hpm_sdk/drivers/inc/ |
| A D | hpm_hall_drv.h | 306 return (hall_rotate_direction_t)HALL_COUNT_U_DIR_GET(hall_x->COUNT[HALL_COUNT_CURRENT].U); in hall_get_rotate_direction() 317 return (hall_x->COUNT[HALL_COUNT_CURRENT].U & (HALL_UVW_STAT_MASK)) >> HALL_COUNT_U_WSTAT_SHIFT; in hall_get_current_uvw_stat() 330 return *(&hall_x->COUNT[HALL_COUNT_CURRENT].W + type) & HALL_COUNT_U_UCNT_MASK; in hall_get_current_count() 343 return *(&hall_x->COUNT[HALL_COUNT_READ].W + type); in hall_get_count_on_read_event() 356 return *(&hall_x->COUNT[HALL_COUNT_SNAP0].W + type); in hall_get_count_on_snap0_event() 369 return *(&hall_x->COUNT[HALL_COUNT_SNAP1].W + type); in hall_get_count_on_snap1_event()
|
| A D | hpm_qei_drv.h | 361 return *(&qei_x->COUNT[QEI_COUNT_CURRENT].Z + type); in qei_get_current_count() 418 return *(&(qei_x->COUNT[QEI_COUNT_READ].Z) + type); in qei_get_count_on_read_event() 431 return *(&qei_x->COUNT[QEI_COUNT_SNAP0].Z + type); in qei_get_count_on_snap0_event() 444 return *(&qei_x->COUNT[QEI_COUNT_SNAP1].Z + type); in qei_get_count_on_snap1_event()
|
| A D | hpm_qeiv2_drv.h | 689 return *(&qeiv2_x->COUNT[QEIV2_COUNT_CURRENT].Z + type); in qeiv2_get_current_count() 746 return *(&(qeiv2_x->COUNT[QEIV2_COUNT_READ].Z) + type); in qeiv2_get_count_on_read_event() 758 return *(&qeiv2_x->COUNT[QEIV2_COUNT_SNAP0].Z + type); in qeiv2_get_count_on_snap0_event() 770 return *(&qeiv2_x->COUNT[QEIV2_COUNT_SNAP1].Z + type); in qeiv2_get_count_on_snap1_event() 1424 qeiv2_x->COUNT[QEIV2_COUNT_CURRENT].Z = cnt; in qeiv2_set_z_phase()
|
| /bsp/airm2m/air105/libraries/HAL_Driver/Inc/ |
| A D | air105_sensor.h | 81 #define IS_SENSOR_EXT_STATIC_SAMPLE(COUNT) ((COUNT) >= SENSOR_STATIC_SAMPLE_1 &&\ argument 82 (COUNT) <= SENSOR_STATIC_SAMPLE_4) 90 #define IS_SENSOR_EXT_DYNAMIC_SAMPLE(COUNT) ((COUNT) >= SENSOR_DYNAMIC_SAMPLE_1 &&\ argument 91 (COUNT) <= SENSOR_DYNAMIC_SAMPLE_4)
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/tc/tc_sam_d_r_h/ |
| A D | tc.c | 306 hw->COUNT8.COUNT.reg = in tc_init() 338 hw->COUNT16.COUNT.reg in tc_init() 362 hw->COUNT32.COUNT.reg in tc_init() 418 tc_module->COUNT8.COUNT.reg = (uint8_t)count; in tc_set_count_value() 422 tc_module->COUNT16.COUNT.reg = (uint16_t)count; in tc_set_count_value() 426 tc_module->COUNT32.COUNT.reg = (uint32_t)count; in tc_set_count_value() 461 return (uint32_t)tc_module->COUNT8.COUNT.reg; in tc_get_count_value() 464 return (uint32_t)tc_module->COUNT16.COUNT.reg; in tc_get_count_value() 467 return tc_module->COUNT32.COUNT.reg; in tc_get_count_value()
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/tc/tc_sam_l_c/ |
| A D | tc.c | 314 hw->COUNT8.COUNT.reg = in tc_init() 346 hw->COUNT16.COUNT.reg in tc_init() 370 hw->COUNT32.COUNT.reg in tc_init() 426 tc_module->COUNT8.COUNT.reg = (uint8_t)count; in tc_set_count_value() 430 tc_module->COUNT16.COUNT.reg = (uint16_t)count; in tc_set_count_value() 434 tc_module->COUNT32.COUNT.reg = (uint32_t)count; in tc_set_count_value() 472 return (uint32_t)tc_module->COUNT8.COUNT.reg; in tc_get_count_value() 475 return (uint32_t)tc_module->COUNT16.COUNT.reg; in tc_get_count_value() 478 return tc_module->COUNT32.COUNT.reg; in tc_get_count_value()
|
| /bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/inc/ |
| A D | ht32f1xxxx_sdio.h | 244 #define IS_SDIO_DATA_BLOCK_COUNT(COUNT) ((COUNT > 0) && (COUNT <= 65535)) argument
|
| /bsp/microchip/samc21/bsp/hri/ |
| A D | hri_tc_c21.h | 1661 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_get_COUNT_COUNT_bf() 1670 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_write_COUNT_COUNT_bf() 1673 ((Tc *)hw)->COUNT8.COUNT.reg = tmp; in hri_tccount8_write_COUNT_COUNT_bf() 1698 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_read_COUNT_COUNT_bf() 1715 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_get_COUNT_reg() 1723 ((Tc *)hw)->COUNT8.COUNT.reg = data; in hri_tccount8_write_COUNT_reg() 1747 return ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_read_COUNT_reg() 1763 tmp = ((Tc *)hw)->COUNT16.COUNT.reg; in hri_tccount16_get_COUNT_COUNT_bf() 1772 tmp = ((Tc *)hw)->COUNT16.COUNT.reg; in hri_tccount16_write_COUNT_COUNT_bf() 1775 ((Tc *)hw)->COUNT16.COUNT.reg = tmp; in hri_tccount16_write_COUNT_COUNT_bf() [all …]
|
| /bsp/microchip/samd51-seeed-wio-terminal/bsp/hri/ |
| A D | hri_tc_d51.h | 1765 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_get_COUNT_COUNT_bf() 1774 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_write_COUNT_COUNT_bf() 1777 ((Tc *)hw)->COUNT8.COUNT.reg = tmp; in hri_tccount8_write_COUNT_COUNT_bf() 1802 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_read_COUNT_COUNT_bf() 1819 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_get_COUNT_reg() 1827 ((Tc *)hw)->COUNT8.COUNT.reg = data; in hri_tccount8_write_COUNT_reg() 1851 return ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_read_COUNT_reg() 1867 tmp = ((Tc *)hw)->COUNT16.COUNT.reg; in hri_tccount16_get_COUNT_COUNT_bf() 1876 tmp = ((Tc *)hw)->COUNT16.COUNT.reg; in hri_tccount16_write_COUNT_COUNT_bf() 1879 ((Tc *)hw)->COUNT16.COUNT.reg = tmp; in hri_tccount16_write_COUNT_COUNT_bf() [all …]
|
| A D | hri_pdec_d51.h | 2202 ((Pdec *)hw)->COUNT.reg |= PDEC_COUNT_COUNT(mask); in hri_pdec_set_COUNT_COUNT_bf() 2211 tmp = ((Pdec *)hw)->COUNT.reg; in hri_pdec_get_COUNT_COUNT_bf() 2220 tmp = ((Pdec *)hw)->COUNT.reg; in hri_pdec_write_COUNT_COUNT_bf() 2223 ((Pdec *)hw)->COUNT.reg = tmp; in hri_pdec_write_COUNT_COUNT_bf() 2248 tmp = ((Pdec *)hw)->COUNT.reg; in hri_pdec_read_COUNT_COUNT_bf() 2256 ((Pdec *)hw)->COUNT.reg |= mask; in hri_pdec_set_COUNT_reg() 2265 tmp = ((Pdec *)hw)->COUNT.reg; in hri_pdec_get_COUNT_reg() 2273 ((Pdec *)hw)->COUNT.reg = data; in hri_pdec_write_COUNT_reg() 2281 ((Pdec *)hw)->COUNT.reg &= ~mask; in hri_pdec_clear_COUNT_reg() 2289 ((Pdec *)hw)->COUNT.reg ^= mask; in hri_pdec_toggle_COUNT_reg() [all …]
|
| /bsp/microchip/same54/bsp/hri/ |
| A D | hri_tc_e54.h | 1765 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_get_COUNT_COUNT_bf() 1774 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_write_COUNT_COUNT_bf() 1777 ((Tc *)hw)->COUNT8.COUNT.reg = tmp; in hri_tccount8_write_COUNT_COUNT_bf() 1802 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_read_COUNT_COUNT_bf() 1819 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_get_COUNT_reg() 1827 ((Tc *)hw)->COUNT8.COUNT.reg = data; in hri_tccount8_write_COUNT_reg() 1851 return ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_read_COUNT_reg() 1867 tmp = ((Tc *)hw)->COUNT16.COUNT.reg; in hri_tccount16_get_COUNT_COUNT_bf() 1876 tmp = ((Tc *)hw)->COUNT16.COUNT.reg; in hri_tccount16_write_COUNT_COUNT_bf() 1879 ((Tc *)hw)->COUNT16.COUNT.reg = tmp; in hri_tccount16_write_COUNT_COUNT_bf() [all …]
|
| /bsp/microchip/samd51-adafruit-metro-m4/bsp/hri/ |
| A D | hri_tc_d51.h | 1765 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_get_COUNT_COUNT_bf() 1774 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_write_COUNT_COUNT_bf() 1777 ((Tc *)hw)->COUNT8.COUNT.reg = tmp; in hri_tccount8_write_COUNT_COUNT_bf() 1802 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_read_COUNT_COUNT_bf() 1819 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_get_COUNT_reg() 1827 ((Tc *)hw)->COUNT8.COUNT.reg = data; in hri_tccount8_write_COUNT_reg() 1851 return ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_read_COUNT_reg() 1867 tmp = ((Tc *)hw)->COUNT16.COUNT.reg; in hri_tccount16_get_COUNT_COUNT_bf() 1876 tmp = ((Tc *)hw)->COUNT16.COUNT.reg; in hri_tccount16_write_COUNT_COUNT_bf() 1879 ((Tc *)hw)->COUNT16.COUNT.reg = tmp; in hri_tccount16_write_COUNT_COUNT_bf() [all …]
|
| /bsp/samd21/sam_d2x_asflib/sam0/utils/cmsis/samd21/include/component/ |
| A D | tc.h | 484 uint16_t COUNT:16; /*!< bit: 0..15 Count Value */ member 502 uint32_t COUNT:32; /*!< bit: 0..31 Count Value */ member 520 uint8_t COUNT:8; /*!< bit: 0.. 7 Counter Value */ member 622 …__IO TC_COUNT8_COUNT_Type COUNT; /**< \brief Offset: 0x10 (R/W 8) COUNT8 Counter Value… member 646 …__IO TC_COUNT16_COUNT_Type COUNT; /**< \brief Offset: 0x10 (R/W 16) COUNT16 Counter Valu… member 668 …__IO TC_COUNT32_COUNT_Type COUNT; /**< \brief Offset: 0x10 (R/W 32) COUNT32 Counter Valu… member
|
| /bsp/samd21/sam_d2x_asflib/sam0/utils/cmsis/samd20/include/component/ |
| A D | tc.h | 487 uint16_t COUNT:16; /*!< bit: 0..15 Counter Value */ member 505 uint32_t COUNT:32; /*!< bit: 0..31 Counter Value */ member 523 uint8_t COUNT:8; /*!< bit: 0.. 7 Counter Value */ member 625 …__IO TC_COUNT8_COUNT_Type COUNT; /**< \brief Offset: 0x10 (R/W 8) COUNT8 Counter Value… member 649 …__IO TC_COUNT16_COUNT_Type COUNT; /**< \brief Offset: 0x10 (R/W 16) COUNT16 Counter Valu… member 671 …__IO TC_COUNT32_COUNT_Type COUNT; /**< \brief Offset: 0x10 (R/W 32) COUNT32 Counter Valu… member
|
| /bsp/microchip/saml10/bsp/hri/ |
| A D | hri_tc_l10.h | 1769 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_get_COUNT_COUNT_bf() 1778 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_write_COUNT_COUNT_bf() 1781 ((Tc *)hw)->COUNT8.COUNT.reg = tmp; in hri_tccount8_write_COUNT_COUNT_bf() 1806 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_read_COUNT_COUNT_bf() 1823 tmp = ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_get_COUNT_reg() 1831 ((Tc *)hw)->COUNT8.COUNT.reg = data; in hri_tccount8_write_COUNT_reg() 1855 return ((Tc *)hw)->COUNT8.COUNT.reg; in hri_tccount8_read_COUNT_reg() 1871 tmp = ((Tc *)hw)->COUNT16.COUNT.reg; in hri_tccount16_get_COUNT_COUNT_bf() 1880 tmp = ((Tc *)hw)->COUNT16.COUNT.reg; in hri_tccount16_write_COUNT_COUNT_bf() 1883 ((Tc *)hw)->COUNT16.COUNT.reg = tmp; in hri_tccount16_write_COUNT_COUNT_bf() [all …]
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/quad_decoder/ |
| A D | quad_decoder.c | 258 return LPMCU_MISC_REGS0->QUAD_DEC0_STATUS.bit.COUNT; in quad_decoder_get_counter() 260 return LPMCU_MISC_REGS0->QUAD_DEC1_STATUS.bit.COUNT; in quad_decoder_get_counter() 262 return LPMCU_MISC_REGS0->QUAD_DEC2_STATUS.bit.COUNT; in quad_decoder_get_counter()
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/rtc/rtc_sam_d_r_h/ |
| A D | rtc_count.c | 341 rtc_module->MODE0.COUNT.reg = count_value; in rtc_count_set_count() 352 rtc_module->MODE1.COUNT.reg = (uint32_t)count_value; in rtc_count_set_count() 404 ret_val = rtc_module->MODE0.COUNT.reg; in rtc_count_get_count() 410 ret_val = (uint32_t)rtc_module->MODE1.COUNT.reg; in rtc_count_get_count()
|
| /bsp/microchip/samc21/bsp/samc21/include/component/ |
| A D | tc.h | 508 uint32_t COUNT:1; /*!< bit: 4 Counter */ member 551 uint16_t COUNT:16; /*!< bit: 0..15 Counter Value */ member 569 uint32_t COUNT:32; /*!< bit: 0..31 Counter Value */ member 587 uint8_t COUNT:8; /*!< bit: 0.. 7 Counter Value */ member 761 __IO TC_COUNT8_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 8) COUNT8 Count */ member 787 __IO TC_COUNT16_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 16) COUNT16 Count */ member 811 __IO TC_COUNT32_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 32) COUNT32 Count */ member
|
| /bsp/microchip/same54/bsp/include/component/ |
| A D | tc.h | 530 uint32_t COUNT:1; /*!< bit: 4 Counter */ member 573 uint16_t COUNT:16; /*!< bit: 0..15 Counter Value */ member 591 uint32_t COUNT:32; /*!< bit: 0..31 Counter Value */ member 609 uint8_t COUNT:8; /*!< bit: 0.. 7 Counter Value */ member 783 __IO TC_COUNT8_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 8) COUNT8 Count */ member 809 __IO TC_COUNT16_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 16) COUNT16 Count */ member 833 __IO TC_COUNT32_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 32) COUNT32 Count */ member
|
| /bsp/microchip/samd51-seeed-wio-terminal/bsp/samd51a/include/component/ |
| A D | tc.h | 530 uint32_t COUNT:1; /*!< bit: 4 Counter */ member 573 uint16_t COUNT:16; /*!< bit: 0..15 Counter Value */ member 591 uint32_t COUNT:32; /*!< bit: 0..31 Counter Value */ member 609 uint8_t COUNT:8; /*!< bit: 0.. 7 Counter Value */ member 783 __IO TC_COUNT8_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 8) COUNT8 Count */ member 809 __IO TC_COUNT16_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 16) COUNT16 Count */ member 833 __IO TC_COUNT32_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 32) COUNT32 Count */ member
|
| /bsp/microchip/samd51-adafruit-metro-m4/bsp/samd51a/include/component/ |
| A D | tc.h | 530 uint32_t COUNT:1; /*!< bit: 4 Counter */ member 573 uint16_t COUNT:16; /*!< bit: 0..15 Counter Value */ member 591 uint32_t COUNT:32; /*!< bit: 0..31 Counter Value */ member 609 uint8_t COUNT:8; /*!< bit: 0.. 7 Counter Value */ member 783 __IO TC_COUNT8_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 8) COUNT8 Count */ member 809 __IO TC_COUNT16_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 16) COUNT16 Count */ member 833 __IO TC_COUNT32_COUNT_Type COUNT; /**< \brief Offset: 0x14 (R/W 32) COUNT32 Count */ member
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/rtc/rtc_sam_l_c/ |
| A D | rtc_count.c | 351 rtc_module->MODE0.COUNT.reg = count_value; in rtc_count_set_count() 360 rtc_module->MODE1.COUNT.reg = (uint32_t)count_value; in rtc_count_set_count() 403 ret_val = rtc_module->MODE0.COUNT.reg; in rtc_count_get_count() 409 ret_val = (uint32_t)rtc_module->MODE1.COUNT.reg; in rtc_count_get_count()
|
| /bsp/microchip/saml10/bsp/include/component/ |
| A D | tc.h | 595 … uint32_t COUNT:1; /**< bit: 4 Counter */ member 648 … uint8_t COUNT:8; /**< bit: 0..7 Counter Value */ member 668 … uint16_t COUNT:16; /**< bit: 0..15 Counter Value */ member 688 … uint32_t COUNT:32; /**< bit: 0..31 Counter Value */ member 960 __IO TC_COUNT8_COUNT_Type COUNT; /**< Offset: 0x14 (R/W 8) COUNT8 Count */ member 984 __IO TC_COUNT16_COUNT_Type COUNT; /**< Offset: 0x14 (R/W 16) COUNT16 Count */ member 1008 __IO TC_COUNT32_COUNT_Type COUNT; /**< Offset: 0x14 (R/W 32) COUNT32 Count */ member
|
| /bsp/wch/risc-v/Libraries/ch56x_drivers/ |
| A D | ch56x_timer.h | 124 uint32_t COUNT; member
|
| /bsp/allwinner/libraries/sunxi-hal/hal/test/ce/ |
| A D | test_ce.h | 1503 COUNT=`expr $LEN / 8` 1504 COUNT_1=`expr $COUNT - 1` 1520 if (( ${keyd_len} == ${COUNT} + 1 )); then 1521 … dd if=rsa_${LEN}_keyd.bin of=rsa_${LEN}_keyd_real.bin bs=1 count=${COUNT} skip=1 > /dev/null 2>&1 1526 # rsa encrypt and decrypt, note: src data size should be $COUNT
|