Home
last modified time | relevance | path

Searched refs:sample_time (Results 1 – 16 of 16) sorted by relevance

/hal_gigadevice-latest/gd32f3x0/standard_peripheral/source/
Dgd32f3x0_adc.c307 void adc_regular_channel_config(uint8_t rank, uint8_t channel, uint32_t sample_time) in adc_regular_channel_config() argument
334 sampt |= (uint32_t)(sample_time << (3U*channel)); in adc_regular_channel_config()
339 sampt |= (uint32_t)(sample_time << (3U*(channel-10U))); in adc_regular_channel_config()
365 void adc_inserted_channel_config(uint8_t rank, uint8_t channel, uint32_t sample_time) in adc_inserted_channel_config() argument
381 sampt |= (uint32_t) sample_time << (3U*channel); in adc_inserted_channel_config()
386 sampt |= ((uint32_t)sample_time << (3U*(channel - 10U))); in adc_inserted_channel_config()
/hal_gigadevice-latest/gd32l23x/standard_peripheral/source/
Dgd32l23x_adc.c346 void adc_regular_channel_config(uint8_t rank, uint8_t adc_channel, uint32_t sample_time) in adc_regular_channel_config() argument
380 sampt |= (uint32_t)(sample_time << (ADC_CHANNEL_SAMPLE_LENGTH * adc_channel)); in adc_regular_channel_config()
387 …sampt |= (uint32_t)(sample_time << (ADC_CHANNEL_SAMPLE_LENGTH * (adc_channel - ADC_CHANNEL_SAMPLE_… in adc_regular_channel_config()
413 void adc_inserted_channel_config(uint8_t rank, uint8_t adc_channel, uint32_t sample_time) in adc_inserted_channel_config() argument
434 sampt |= (uint32_t) sample_time << (ADC_CHANNEL_SAMPLE_LENGTH * adc_channel); in adc_inserted_channel_config()
441 …sampt |= ((uint32_t)sample_time << (ADC_CHANNEL_SAMPLE_LENGTH * (adc_channel - ADC_CHANNEL_SAMPLE_… in adc_inserted_channel_config()
/hal_gigadevice-latest/gd32f403/standard_peripheral/source/
Dgd32f403_adc.c348 …lar_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time) in adc_regular_channel_config() argument
375 sampt |= (uint32_t)(sample_time << (3U*adc_channel)); in adc_regular_channel_config()
380 sampt |= (uint32_t)(sample_time << (3U*(adc_channel-10U))); in adc_regular_channel_config()
407 …ted_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time) in adc_inserted_channel_config() argument
422 sampt |= (uint32_t) sample_time << (3U*adc_channel); in adc_inserted_channel_config()
427 sampt |= ((uint32_t)sample_time << (3U*(adc_channel-10U))); in adc_inserted_channel_config()
/hal_gigadevice-latest/gd32a50x/standard_peripheral/source/
Dgd32a50x_adc.c339 …egular_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time) in adc_regular_channel_config() argument
366 sampt |= (uint32_t)(sample_time << (3U*adc_channel)); in adc_regular_channel_config()
371 sampt |= (uint32_t)(sample_time << (3U*(adc_channel-10U))); in adc_regular_channel_config()
398 …serted_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time) in adc_inserted_channel_config() argument
416 sampt |= (uint32_t) sample_time << (3U*adc_channel); in adc_inserted_channel_config()
421 sampt |= ((uint32_t)sample_time << (3U*(adc_channel-10U))); in adc_inserted_channel_config()
/hal_gigadevice-latest/gd32e10x/standard_peripheral/source/
Dgd32e10x_adc.c437 …lar_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time) in adc_regular_channel_config() argument
472 sampt |= (uint32_t)(sample_time << (ADC_CHANNEL_SAMPLE_LENGTH*adc_channel)); in adc_regular_channel_config()
479 …sampt |= (uint32_t)(sample_time << (ADC_CHANNEL_SAMPLE_LENGTH*(adc_channel-ADC_CHANNEL_SAMPLE_TEN)… in adc_regular_channel_config()
505 …ted_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time) in adc_inserted_channel_config() argument
524 sampt |= (uint32_t) sample_time << (ADC_CHANNEL_SAMPLE_LENGTH*adc_channel); in adc_inserted_channel_config()
531 …sampt |= ((uint32_t)sample_time << (ADC_CHANNEL_SAMPLE_LENGTH*(adc_channel-ADC_CHANNEL_SAMPLE_TEN)… in adc_inserted_channel_config()
/hal_gigadevice-latest/gd32vf103/standard_peripheral/source/
Dgd32vf103_adc.c352 …egular_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time) in adc_regular_channel_config() argument
387 sampt |= (uint32_t)(sample_time << (ADC_CHANNEL_SAMPLE_LENGTH*adc_channel)); in adc_regular_channel_config()
394 …sampt |= (uint32_t)(sample_time << (ADC_CHANNEL_SAMPLE_LENGTH*(adc_channel-ADC_CHANNEL_SAMPLE_TEN)… in adc_regular_channel_config()
420 …serted_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time) in adc_inserted_channel_config() argument
438 sampt |= (uint32_t) sample_time << (ADC_CHANNEL_SAMPLE_LENGTH*adc_channel); in adc_inserted_channel_config()
445 …sampt |= ((uint32_t)sample_time << (ADC_CHANNEL_SAMPLE_LENGTH*(adc_channel-ADC_CHANNEL_SAMPLE_TEN)… in adc_inserted_channel_config()
/hal_gigadevice-latest/gd32f4xx/standard_peripheral/source/
Dgd32f4xx_adc.c460 …egular_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time) in adc_regular_channel_config() argument
495 sampt |= (uint32_t)(sample_time << (ADC_CHANNEL_SAMPLE_LENGTH * adc_channel)); in adc_regular_channel_config()
502 …sampt |= (uint32_t)(sample_time << (ADC_CHANNEL_SAMPLE_LENGTH * (adc_channel - ADC_CHANNEL_SAMPLE_… in adc_regular_channel_config()
528 …serted_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time) in adc_inserted_channel_config() argument
549 sampt |= (uint32_t) sample_time << (ADC_CHANNEL_SAMPLE_LENGTH * adc_channel); in adc_inserted_channel_config()
556 …sampt |= ((uint32_t)sample_time << (ADC_CHANNEL_SAMPLE_LENGTH * (adc_channel - ADC_CHANNEL_SAMPLE_… in adc_inserted_channel_config()
/hal_gigadevice-latest/gd32e50x/standard_peripheral/source/
Dgd32e50x_adc.c344 …egular_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time) in adc_regular_channel_config() argument
371 sampt |= (uint32_t)(sample_time << (3U*adc_channel)); in adc_regular_channel_config()
376 sampt |= (uint32_t)(sample_time << (3U*(adc_channel-10U))); in adc_regular_channel_config()
403 …serted_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time) in adc_inserted_channel_config() argument
421 sampt |= (uint32_t) sample_time << (3U*adc_channel); in adc_inserted_channel_config()
426 sampt |= ((uint32_t)sample_time << (3U*(adc_channel-10U))); in adc_inserted_channel_config()
/hal_gigadevice-latest/gd32f3x0/standard_peripheral/include/
Dgd32f3x0_adc.h318 void adc_regular_channel_config(uint8_t rank, uint8_t channel, uint32_t sample_time);
320 void adc_inserted_channel_config(uint8_t rank, uint8_t channel, uint32_t sample_time);
/hal_gigadevice-latest/gd32l23x/standard_peripheral/include/
Dgd32l23x_adc.h328 void adc_regular_channel_config(uint8_t rank, uint8_t adc_channel, uint32_t sample_time);
330 void adc_inserted_channel_config(uint8_t rank, uint8_t adc_channel, uint32_t sample_time);
/hal_gigadevice-latest/gd32vf103/standard_peripheral/include/
Dgd32vf103_adc.h338 …gular_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time);
340 …erted_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time);
/hal_gigadevice-latest/gd32f403/standard_peripheral/include/
Dgd32f403_adc.h345 …ar_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time);
347 …ed_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time);
/hal_gigadevice-latest/gd32e10x/standard_peripheral/include/
Dgd32e10x_adc.h348 …gular_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time);
350 …erted_channel_config(uint32_t adc_periph, uint8_t rank, uint8_t adc_channel, uint32_t sample_time);
/hal_gigadevice-latest/gd32a50x/standard_peripheral/include/
Dgd32a50x_adc.h367 …ar_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time);
369 …ed_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time);
/hal_gigadevice-latest/gd32f4xx/standard_peripheral/include/
Dgd32f4xx_adc.h452 …ar_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time);
454 …ed_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time);
/hal_gigadevice-latest/gd32e50x/standard_peripheral/include/
Dgd32e50x_adc.h464 …ar_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time);
466 …ed_channel_config(uint32_t adc_periph , uint8_t rank , uint8_t adc_channel , uint32_t sample_time);