| /bsp/samd21/sam_d2x_asflib/sam0/drivers/tc/tc_sam_l_c/ |
| A D | tc.c | 190 if (hw->COUNT8.CTRLA.reg & TC_CTRLA_SWRST) { in tc_init() 195 if (hw->COUNT8.STATUS.reg & TC_STATUS_SLAVE) { in tc_init() 200 if (hw->COUNT8.CTRLA.reg & TC_CTRLA_ENABLE) { in tc_init() 267 hw->COUNT8.CTRLA.reg = ctrla_tmp; in tc_init() 273 hw->COUNT8.WAVE.reg = config->wave_generation; in tc_init() 288 hw->COUNT8.CTRLBCLR.reg = 0xFF; in tc_init() 296 hw->COUNT8.CTRLBSET.reg = ctrlbset_tmp; in tc_init() 314 hw->COUNT8.COUNT.reg = in tc_init() 322 hw->COUNT8.PER.reg = in tc_init() 329 hw->COUNT8.CC[0].reg = in tc_init() [all …]
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/tc/tc_sam_d_r_h/ |
| A D | tc.c | 188 if (hw->COUNT8.CTRLA.reg & TC_CTRLA_SWRST) { in tc_init() 193 if (hw->COUNT8.STATUS.reg & TC_STATUS_SLAVE) { in tc_init() 198 if (hw->COUNT8.CTRLA.reg & TC_CTRLA_ENABLE) { in tc_init() 254 hw->COUNT8.CTRLA.reg = ctrla_tmp; in tc_init() 269 hw->COUNT8.CTRLBCLR.reg = 0xFF; in tc_init() 277 hw->COUNT8.CTRLBSET.reg = ctrlbset_tmp; in tc_init() 292 hw->COUNT8.CTRLC.reg = ctrlc_tmp; in tc_init() 306 hw->COUNT8.COUNT.reg = in tc_init() 314 hw->COUNT8.PER.reg = in tc_init() 321 hw->COUNT8.CC[0].reg = in tc_init() [all …]
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/tc/ |
| A D | tc_interrupt.h | 127 module->hw->COUNT8.INTENSET.reg = TC_INTFLAG_MC(1); in tc_enable_callback() 131 module->hw->COUNT8.INTENSET.reg = TC_INTFLAG_MC(2); in tc_enable_callback() 135 module->hw->COUNT8.INTENSET.reg = (1 << callback_type); in tc_enable_callback() 158 module->hw->COUNT8.INTENCLR.reg = TC_INTFLAG_MC(1); in tc_disable_callback() 162 module->hw->COUNT8.INTENCLR.reg = TC_INTFLAG_MC(2); in tc_disable_callback() 166 module->hw->COUNT8.INTENCLR.reg = (1 << callback_type); in tc_disable_callback()
|
| A D | tc_interrupt.c | 164 interrupt_and_callback_status_mask = module->hw->COUNT8.INTFLAG.reg & in _tc_interrupt_handler() 173 module->hw->COUNT8.INTFLAG.reg = TC_INTFLAG_OVF; in _tc_interrupt_handler() 181 module->hw->COUNT8.INTFLAG.reg = TC_INTFLAG_ERR; in _tc_interrupt_handler() 189 module->hw->COUNT8.INTFLAG.reg = TC_INTFLAG_MC(1); in _tc_interrupt_handler() 197 module->hw->COUNT8.INTFLAG.reg = TC_INTFLAG_MC(2); in _tc_interrupt_handler()
|
| A D | tc.h | 1031 TcCount8 *const tc_module = &(module_inst->hw->COUNT8); in tc_is_syncing() 1219 tc_module->COUNT8.EVCTRL.reg &= ~event_mask; in tc_disable_events() 1251 TcCount8 *const tc_module = &(module_inst->hw->COUNT8); in tc_enable() 1276 TcCount8 *const tc_module = &(module_inst->hw->COUNT8); in tc_disable() 1330 TcCount8 *const tc_module = &(module_inst->hw->COUNT8); in tc_stop_counter() 1355 TcCount8 *const tc_module = &(module_inst->hw->COUNT8); in tc_start_counter() 1395 TcCount8 *const tc_module = &(module_inst->hw->COUNT8); in tc_update_double_buffer() 1435 TcCount8 *const tc_module = &(module_inst->hw->COUNT8); in tc_sync_read_count() 1475 TcCount8 *const tc_module = &(module_inst->hw->COUNT8); in tc_dma_trigger_command() 1554 TcCount8 *const tc_module = &(module_inst->hw->COUNT8); in tc_get_status() [all …]
|
| /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() 1968 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_get_PER_PER_bf() 1977 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_write_PER_PER_bf() 1980 ((Tc *)hw)->COUNT8.PER.reg = tmp; in hri_tccount8_write_PER_PER_bf() 2005 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_read_PER_PER_bf() 2022 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_get_PER_reg() 2030 ((Tc *)hw)->COUNT8.PER.reg = data; in hri_tccount8_write_PER_reg() [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() 2072 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_get_PER_PER_bf() 2081 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_write_PER_PER_bf() 2084 ((Tc *)hw)->COUNT8.PER.reg = tmp; in hri_tccount8_write_PER_PER_bf() 2109 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_read_PER_PER_bf() 2126 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_get_PER_reg() 2134 ((Tc *)hw)->COUNT8.PER.reg = data; in hri_tccount8_write_PER_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() 2072 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_get_PER_PER_bf() 2081 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_write_PER_PER_bf() 2084 ((Tc *)hw)->COUNT8.PER.reg = tmp; in hri_tccount8_write_PER_PER_bf() 2109 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_read_PER_PER_bf() 2126 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_get_PER_reg() 2134 ((Tc *)hw)->COUNT8.PER.reg = data; in hri_tccount8_write_PER_reg() [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() 2072 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_get_PER_PER_bf() 2081 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_write_PER_PER_bf() 2084 ((Tc *)hw)->COUNT8.PER.reg = tmp; in hri_tccount8_write_PER_PER_bf() 2109 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_read_PER_PER_bf() 2126 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_get_PER_reg() 2134 ((Tc *)hw)->COUNT8.PER.reg = data; in hri_tccount8_write_PER_reg() [all …]
|
| /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() 2278 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_get_PER_PER_bf() 2287 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_write_PER_PER_bf() 2290 ((Tc *)hw)->COUNT8.PER.reg = tmp; in hri_tccount8_write_PER_PER_bf() 2315 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_read_PER_PER_bf() 2332 tmp = ((Tc *)hw)->COUNT8.PER.reg; in hri_tccount8_get_PER_reg() 2340 ((Tc *)hw)->COUNT8.PER.reg = data; in hri_tccount8_write_PER_reg() [all …]
|
| /bsp/samd21/sam_d2x_asflib/sam0/utils/cmsis/samd21/include/component/ |
| A D | tc.h | 676 TcCount8 COUNT8; /**< \brief Offset: 0x00 8-bit Counter Mode */ member
|
| /bsp/samd21/sam_d2x_asflib/sam0/utils/cmsis/samd20/include/component/ |
| A D | tc.h | 679 TcCount8 COUNT8; /**< \brief Offset: 0x00 8-bit Counter Mode */ member
|
| /bsp/microchip/samc21/bsp/samc21/include/component/ |
| A D | tc.h | 821 TcCount8 COUNT8; /**< \brief Offset: 0x00 8-bit Counter Mode */ member
|
| /bsp/microchip/same54/bsp/include/component/ |
| A D | tc.h | 843 TcCount8 COUNT8; /**< \brief Offset: 0x00 8-bit Counter Mode */ member
|
| /bsp/microchip/samd51-seeed-wio-terminal/bsp/samd51a/include/component/ |
| A D | tc.h | 843 TcCount8 COUNT8; /**< \brief Offset: 0x00 8-bit Counter Mode */ member
|
| /bsp/microchip/samd51-adafruit-metro-m4/bsp/samd51a/include/component/ |
| A D | tc.h | 843 TcCount8 COUNT8; /**< \brief Offset: 0x00 8-bit Counter Mode */ member
|
| /bsp/microchip/saml10/bsp/include/component/ |
| A D | tc.h | 1018 TcCount8 COUNT8; /**< 8-bit Counter Mode */ member
|