Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 25 of 202) sorted by relevance

123456789

/bsp/efm32/
A Dhttpd.c138 counter = 0; in http_recv()
143 counter++; in http_recv()
147 counter++; in http_recv()
151 counter++; in http_recv()
155 counter++; in http_recv()
163 counter++; in http_recv()
168 counter += 4; in http_recv()
173 counter++; in http_recv()
181 counter++; in http_recv()
184 counter += 5; in http_recv()
[all …]
/bsp/nxp/lpc/lpc55sxx/lpc55s36_nxp_evk/applications/
A Dtfm_ps.c35 uint32_t counter = 0; in protected_storage_demo_thread() local
45 rt_kprintf("[Protected Storage Asset A Set Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
49 rt_kprintf("[Protected Storage Asset A Set Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
55 rt_kprintf("[Protected Storage Asset A Get Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
59 rt_kprintf("[Protected Storage Asset A Get Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
72 rt_kprintf("[Protected Storage Asset A Reset Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
75 rt_kprintf("[Protected Storage Asset A Reset Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
81 rt_kprintf("[Protected Storage Asset A Get Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
85 rt_kprintf("[Protected Storage Asset A Get Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
98 rt_kprintf("[Protected Storage Asset A Remove Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
[all …]
/bsp/nxp/lpc/lpc55sxx/lpc55s06_nxp_evk/applications/
A Dtfm_ps.c35 uint32_t counter = 0; in protected_storage_demo_thread() local
45 rt_kprintf("[Protected Storage Asset A Set Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
49 rt_kprintf("[Protected Storage Asset A Set Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
55 rt_kprintf("[Protected Storage Asset A Get Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
59 rt_kprintf("[Protected Storage Asset A Get Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
72 rt_kprintf("[Protected Storage Asset A Reset Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
75 rt_kprintf("[Protected Storage Asset A Reset Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
81 rt_kprintf("[Protected Storage Asset A Get Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
85 rt_kprintf("[Protected Storage Asset A Get Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
98 rt_kprintf("[Protected Storage Asset A Remove Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
[all …]
/bsp/nxp/lpc/lpc55sxx/lpc55s16_nxp_evk/applications/
A Dtfm_ps.c35 uint32_t counter = 0; in protected_storage_demo_thread() local
45 rt_kprintf("[Protected Storage Asset A Set Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
49 rt_kprintf("[Protected Storage Asset A Set Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
55 rt_kprintf("[Protected Storage Asset A Get Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
59 rt_kprintf("[Protected Storage Asset A Get Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
72 rt_kprintf("[Protected Storage Asset A Reset Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
75 rt_kprintf("[Protected Storage Asset A Reset Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
81 rt_kprintf("[Protected Storage Asset A Get Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
85 rt_kprintf("[Protected Storage Asset A Get Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
98 rt_kprintf("[Protected Storage Asset A Remove Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
[all …]
/bsp/nxp/lpc/lpc55sxx/lpc55s28_nxp_evk/applications/
A Dtfm_ps.c35 uint32_t counter = 0; in protected_storage_demo_thread() local
45 rt_kprintf("[Protected Storage Asset A Set Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
49 rt_kprintf("[Protected Storage Asset A Set Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
55 rt_kprintf("[Protected Storage Asset A Get Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
59 rt_kprintf("[Protected Storage Asset A Get Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
72 rt_kprintf("[Protected Storage Asset A Reset Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
75 rt_kprintf("[Protected Storage Asset A Reset Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
81 rt_kprintf("[Protected Storage Asset A Get Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
85 rt_kprintf("[Protected Storage Asset A Get Round %ld] Success\r\n", counter); in protected_storage_demo_thread()
98 rt_kprintf("[Protected Storage Asset A Remove Round %ld] Fail\r\n", counter); in protected_storage_demo_thread()
[all …]
/bsp/hpmicro/libraries/hpm_sdk/drivers/inc/
A Dhpm_pwmv2_drv.h287 …pwm_x->CNT[counter].CFG2 = (pwm_x->CNT[counter].CFG2 & ~PWMV2_CNT_CFG2_CNT_RELOAD_TRIG_MASK) | PWM… in pwmv2_set_counter_reload_trigmux_index()
1323 …pwm_x->CNT[counter].CFG0 = (pwm_x->CNT[counter].CFG0 & ~(PWMV2_CNT_CFG0_RLD_CMP_SEL0_MASK)) | PWMV… in pwmv2_reload_select_compare_point0_index()
1335 …pwm_x->CNT[counter].CFG0 = (pwm_x->CNT[counter].CFG0 & ~(PWMV2_CNT_CFG0_RLD_CMP_SEL1_MASK)) | PWMV… in pwmv2_reload_select_compare_point1_index()
1347 …pwm_x->CNT[counter].CFG0 = (pwm_x->CNT[counter].CFG0 & ~(PWMV2_CNT_CFG0_RLD_TRIG_SEL_MASK)) | PWMV… in pwmv2_reload_select_input_trigger()
1371 …pwm_x->CNT[counter].CFG0 = (pwm_x->CNT[counter].CFG0 & ~PWMV2_CNT_CFG0_CNT_D_PARAM_MASK) | PWMV2_C… in pwmv2_counter_set_dac_data_parameter()
1383 …pwm_x->CNT[counter].CFG1 = (pwm_x->CNT[counter].CFG1 & ~PWMV2_CNT_CFG1_CNT_DAC_INDEX_MASK) | PWMV2… in pwmv2_conuter_select_dac_index()
1417 …pwm_x->CNT[counter].CFG1 = (pwm_x->CNT[counter].CFG1 & ~PWMV2_CNT_CFG1_CNT_LIM_UP_MASK) | PWMV2_CN… in pwmv2_counter_select_up_limit_from_shadow_value()
1452 …pwm_x->CNT[counter].CFG1 = (pwm_x->CNT[counter].CFG1 & ~PWMV2_CNT_CFG1_CNT_LIM_LO_MASK) | PWMV2_CN… in pwmv2_counter_select_low_limit_from_shadow_value()
1464 …pwm_x->CNT[counter].CFG1 = (pwm_x->CNT[counter].CFG1 & ~PWMV2_CNT_CFG1_CNT_IN_OFF_MASK) | PWMV2_CN… in pwmv2_counter_select_data_offset_from_shadow_value()
1532 …pwm_x->CNT[counter].CFG2 = (pwm_x->CNT[counter].CFG2 & ~PWMV2_CNT_CFG2_CNT_TRIG1_MASK) | PWMV2_CNT… in pwmv2_counter_set_trig1_calculate_cell_index()
[all …]
A Dhpm_pdgo_drv.h38 static inline void pdgo_set_turnoff_counter(PDGO_Type *ptr, uint32_t counter) in pdgo_set_turnoff_counter() argument
40 ptr->DGO_TURNOFF = counter; in pdgo_set_turnoff_counter()
249 static inline uint32_t pdgo_get_us_from_wakeup_counter(uint32_t counter) in pdgo_get_us_from_wakeup_counter() argument
251 return (counter * DGO_WAKEUP_TICK_IN_US); in pdgo_get_us_from_wakeup_counter()
271 static inline uint32_t pdgo_get_us_from_turnoff_counter(uint32_t counter) in pdgo_get_us_from_turnoff_counter() argument
273 return (counter + DGO_TURNOFF_TICKS_PER_US - 1U) / DGO_TURNOFF_TICKS_PER_US; in pdgo_get_us_from_turnoff_counter()
/bsp/frdm-k64f/board/
A Dfsl_phy.c83 counter --; in PHY_Init()
86 if (!counter) in PHY_Init()
92 counter = PHY_TIMEOUT_COUNT; in PHY_Init()
107 while (counter --) in PHY_Init()
118 if (!counter) in PHY_Init()
132 uint32_t counter; in PHY_Write() local
141 for (counter = PHY_TIMEOUT_COUNT; counter > 0; counter--) in PHY_Write()
150 if (!counter) in PHY_Write()
165 uint32_t counter; in PHY_Read() local
174 for (counter = PHY_TIMEOUT_COUNT; counter > 0; counter--) in PHY_Read()
[all …]
/bsp/nuvoton/numaker-iot-ma35d1/preload/
A Dtranscode.py10 counter=0
19 counter = counter+1
24 counter = (counter+5)*4
25 counter_align = (counter+32-1) & ~(32-1)
26 nop_num = (counter_align - counter) / 4
27 print hex(counter), hex(counter_align), nop_num
/bsp/nuvoton/numaker-hmi-ma35d1/preload/
A Dtranscode.py10 counter=0
19 counter = counter+1
24 counter = (counter+5)*4
25 counter_align = (counter+32-1) & ~(32-1)
26 nop_num = (counter_align - counter) / 4
27 print hex(counter), hex(counter_align), nop_num
/bsp/nxp/imx/imxrt/libraries/drivers/
A Ddrv_mdio.c59 rt_uint32_t counter; in rt_hw_mdio_read() local
74 for (counter = PHY_TIMEOUT_COUNT; counter > 0; counter--) in rt_hw_mdio_read()
83 if (!counter) in rt_hw_mdio_read()
102 uint32_t counter; in rt_hw_mdio_write() local
117 for (counter = PHY_TIMEOUT_COUNT; counter > 0; counter--) in rt_hw_mdio_write()
126 if (!counter) in rt_hw_mdio_write()
/bsp/nxp/lpc/lpc54608-LPCXpresso/drivers/
A Dfsl_phy.c134 uint32_t counter; in PHY_Write() local
143 for (counter = PHY_TIMEOUT_COUNT; counter > 0; counter--) in PHY_Write()
152 if (!counter) in PHY_Write()
173 uint32_t counter; in PHY_Read() local
182 for (counter = PHY_TIMEOUT_COUNT; counter > 0; counter--) in PHY_Read()
191 if (!counter) in PHY_Read()
/bsp/samd21/sam_d2x_asflib/sam0/drivers/dma/
A Ddma_crc.h202 uint32_t counter = total_beat_size; in dma_crc_io_calculation() local
207 for (counter=0; counter<total_beat_size; counter++) { in dma_crc_io_calculation()
210 DMAC->CRCDATAIN.reg = buffer_8[counter]; in dma_crc_io_calculation()
213 DMAC->CRCDATAIN.reg = buffer_16[counter]; in dma_crc_io_calculation()
216 DMAC->CRCDATAIN.reg = buffer_32[counter]; in dma_crc_io_calculation()
/bsp/allwinner/libraries/sunxi-hal/hal/source/timer/
A Dhal_avs.c81 int hal_avs_get_counter(hal_avs_id_t id, u32 *counter) in hal_avs_get_counter() argument
92 *counter = hal_readl(avs->base + AVS_CNT_REG(id)); in hal_avs_get_counter()
96 int hal_avs_set_counter(hal_avs_id_t id, u32 counter) in hal_avs_set_counter() argument
108 hal_writel(counter, avs->base + AVS_CNT_REG(id)); in hal_avs_set_counter()
190 u32 *counter, *div; in hal_avs_control() local
212 counter = (u32 *)arg; in hal_avs_control()
213 return hal_avs_set_counter(id, *counter); in hal_avs_control()
215 counter = (u32 *)arg; in hal_avs_control()
216 return hal_avs_get_counter(id, counter); in hal_avs_control()
/bsp/apm32/libraries/APM32F4xx_Library/APM32F4xx_StdPeriphDriver/src/
A Dapm32f4xx_cryp_des.c70 __IO uint32_t counter = 0; in CRYP_DES_ECB() local
107 counter = 0; in CRYP_DES_ECB()
111 counter++; in CRYP_DES_ECB()
113 while ((counter != 0x00010000) && (flag != RESET)); in CRYP_DES_ECB()
163 __IO uint32_t counter = 0; in CRYP_DES_CBC() local
205 counter = 0; in CRYP_DES_CBC()
209 counter++; in CRYP_DES_CBC()
211 while ((counter != 0x00010000) && (flag != RESET)); in CRYP_DES_CBC()
A Dapm32f4xx_cryp_aes.c71 __IO uint32_t counter = 0; in CRYP_AES_ECB() local
137 counter = 0; in CRYP_AES_ECB()
141 counter++; in CRYP_AES_ECB()
183 counter = 0; in CRYP_AES_ECB()
187 counter++; in CRYP_AES_ECB()
318 counter = 0; in CRYP_AES_CBC()
322 counter++; in CRYP_AES_CBC()
364 counter = 0; in CRYP_AES_CBC()
368 counter++; in CRYP_AES_CBC()
523 counter = 0; in CRYP_AES_CTR()
[all …]
A Dapm32f4xx_cryp_tdes.c70 __IO uint32_t counter = 0; in CRYP_TDES_ECB() local
115 counter = 0; in CRYP_TDES_ECB()
119 counter++; in CRYP_TDES_ECB()
121 while ((counter != 0x00010000) && (flag != RESET)); in CRYP_TDES_ECB()
171 __IO uint32_t counter = 0; in CRYP_TDES_CBC() local
221 counter = 0; in CRYP_TDES_CBC()
225 counter++; in CRYP_TDES_CBC()
227 while ((counter != 0x00010000) && (flag != RESET)); in CRYP_TDES_CBC()
A Dapm32f4xx_wwdt.c95 void WWDT_ConfigCounter(uint8_t counter) in WWDT_ConfigCounter() argument
97 WWDT->CTRL_B.CNT = counter; in WWDT_ConfigCounter()
121 void WWDT_Enable(uint8_t counter) in WWDT_Enable() argument
123 WWDT->CTRL = counter | 0x00000080; in WWDT_Enable()
/bsp/apm32/libraries/Drivers/
A Ddrv_rtc.c43 volatile rt_uint32_t counter = 0; in apm32_rtc_init() local
59 if (++counter > DRV_RTC_TIME_OUT) in apm32_rtc_init()
70 if (++counter > DRV_RTC_TIME_OUT) in apm32_rtc_init()
82 counter = 0; in apm32_rtc_init()
85 if (++counter > DRV_RTC_TIME_OUT) in apm32_rtc_init()
138 volatile rt_uint32_t counter = 0; in apm32_rtc_get_secs() local
142 if (++counter > DRV_RTC_TIME_OUT) in apm32_rtc_get_secs()
155 volatile rt_uint32_t counter = 0; in apm32_rtc_set_secs() local
164 if (++counter > DRV_RTC_TIME_OUT) in apm32_rtc_set_secs()
/bsp/rm48x50/HALCoGen/source/
A Drti.c134 void rtiStartCounter(uint32 counter) in rtiStartCounter() argument
139 rtiREG1->GCTRL |= (1U << (counter & 3U)); in rtiStartCounter()
165 void rtiStopCounter(uint32 counter) in rtiStopCounter() argument
170 rtiREG1->GCTRL &= ~(1U << (counter & 3U)); in rtiStopCounter()
199 uint32 rtiResetCounter(uint32 counter) in rtiResetCounter() argument
206 if ((!(rtiREG1->GCTRL & (1U << (counter & 3U)))) != 0U) in rtiResetCounter()
208 rtiREG1->CNT[counter].UCx = 0x00000000U; in rtiResetCounter()
209 rtiREG1->CNT[counter].FRCx = 0x00000000U; in rtiResetCounter()
324 uint32 counter = ((rtiREG1->COMPCTRL & (1U << (compare << 2U))) !=0U ) ? 1U : 0U; in rtiGetCurrentTick() local
329 tick = rtiREG1->CNT[counter].FRCx - (rtiREG1->CMP[compare].COMPx - rtiREG1->CMP[compare].UDCPx); in rtiGetCurrentTick()
/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/
A Dstm32l1xx_hal_lcd.c180 uint8_t counter = 0; in HAL_LCD_Init() local
219 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Init()
221 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Init()
431 uint32_t counter = 0; in HAL_LCD_Clear() local
457 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Clear()
459 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Clear()
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_ble_driver/profile/
A Dapp_sec.c162 uint8_t counter; in gapc_bond_req_ind_handler() local
166 for(counter = 0; counter < RAND_NB_LEN; counter++) in gapc_bond_req_ind_handler()
168 … cfm->data.ltk.randnb.nb[counter] = (uint8_t)((co_rand_word() + app_env.loc_irk[counter]) ); in gapc_bond_req_ind_handler()
171 for(counter = 0; counter < KEY_LEN; counter++) in gapc_bond_req_ind_handler()
173 … cfm->data.ltk.ltk.key[counter] = (uint8_t)((co_rand_word() + app_env.loc_irk[counter]) ); in gapc_bond_req_ind_handler()
/bsp/nuvoton/nk-n9h30/applications/
A Dmain.c69 static void nu_key_matrix_switch(uint32_t counter) in nu_key_matrix_switch() argument
78 rt_pin_write(au32KeyMatrix_Col[counter % MATRIX_COL_NUM], PIN_LOW); in nu_key_matrix_switch()
85 uint32_t counter = 1; in main() local
107 while (counter++ > 0) in main()
113 nu_key_matrix_switch(counter); in main()
/bsp/apm32/libraries/APM32E10x_Library/APM32E10x_StdPeriphDriver/src/
A Dapm32e10x_wwdt.c103 void WWDT_ConfigCounter(uint8_t counter) in WWDT_ConfigCounter() argument
105 WWDT->CTRL = counter & 0x7F; in WWDT_ConfigCounter()
129 void WWDT_Enable(uint8_t counter) in WWDT_Enable() argument
131 WWDT->CTRL = counter | 0x00000080; in WWDT_Enable()
/bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/src/
A Dapm32f10x_wwdt.c103 void WWDT_ConfigCounter(uint8_t counter) in WWDT_ConfigCounter() argument
105 WWDT->CTRL = counter & 0x7F; in WWDT_ConfigCounter()
129 void WWDT_Enable(uint8_t counter) in WWDT_Enable() argument
131 WWDT->CTRL = counter | 0x00000080; in WWDT_Enable()

Completed in 64 milliseconds

123456789