Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 140) sorted by relevance

123456

/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f403/standard_peripheral/source/
Dgd32f403_dac.c154 uint16_t data = 0U; in dac_output_value_get() local
157 data = (uint16_t)DAC0_DO; in dac_output_value_get()
160 data = (uint16_t)DAC1_DO; in dac_output_value_get()
162 return data; in dac_output_value_get()
177 void dac_data_set(uint32_t dac_periph, uint32_t dac_align, uint16_t data) in dac_data_set() argument
183 DAC0_R12DH = data; in dac_data_set()
187 DAC0_L12DH = data; in dac_data_set()
191 DAC0_R8DH = data; in dac_data_set()
200 DAC1_R12DH = data; in dac_data_set()
204 DAC1_L12DH = data; in dac_data_set()
[all …]
Dgd32f403_bkp.c62 void bkp_write_data(bkp_data_register_enum register_number, uint16_t data) in bkp_write_data() argument
65 BKP_DATA10_41(register_number-1U) = data; in bkp_write_data()
67 BKP_DATA0_9(register_number-1U) = data; in bkp_write_data()
82 uint16_t data = 0U; in bkp_read_data() local
86 data = BKP_DATA10_41(register_number-1U); in bkp_read_data()
88 data = BKP_DATA0_9(register_number-1U); in bkp_read_data()
92 return data; in bkp_read_data()
Dgd32f403_fmc.c321 fmc_state_enum fmc_word_program(uint32_t address, uint32_t data) in fmc_word_program() argument
331 REG32(address) = data; in fmc_word_program()
343 REG32(address) = data; in fmc_word_program()
356 REG32(address) = data; in fmc_word_program()
374 fmc_state_enum fmc_halfword_program(uint32_t address, uint16_t data) in fmc_halfword_program() argument
384 REG16(address) = data; in fmc_halfword_program()
396 REG16(address) = data; in fmc_halfword_program()
409 REG16(address) = data; in fmc_halfword_program()
427 fmc_state_enum fmc_word_reprogram(uint32_t address, uint32_t data) in fmc_word_reprogram() argument
437 REG32(address) = data; in fmc_word_reprogram()
[all …]
Dgd32f403_crc.c74 uint32_t data; in crc_data_register_read() local
75 data = CRC_DATA; in crc_data_register_read()
76 return (data); in crc_data_register_read()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e10x/standard_peripheral/source/
Dgd32e10x_dac.c162 uint16_t data = 0U; in dac_output_value_get() local
165 data = (uint16_t)DAC0_DO; in dac_output_value_get()
168 data = (uint16_t)DAC1_DO; in dac_output_value_get()
170 return data; in dac_output_value_get()
186 void dac_data_set(uint32_t dac_periph, uint32_t dac_align, uint16_t data) in dac_data_set() argument
192 DAC0_R12DH = data; in dac_data_set()
196 DAC0_L12DH = data; in dac_data_set()
200 DAC0_R8DH = data; in dac_data_set()
209 DAC1_R12DH = data; in dac_data_set()
213 DAC1_L12DH = data; in dac_data_set()
[all …]
Dgd32e10x_bkp.c65 void bkp_data_write(bkp_data_register_enum register_number, uint16_t data) in bkp_data_write() argument
68 BKP_DATA10_41(register_number-1U) = data; in bkp_data_write()
70 BKP_DATA0_9(register_number-1U) = data; in bkp_data_write()
86 uint16_t data = 0U; in bkp_data_read() local
90 data = BKP_DATA10_41(register_number-1U); in bkp_data_read()
92 data = BKP_DATA0_9(register_number-1U); in bkp_data_read()
96 return data; in bkp_data_read()
Dgd32e10x_crc.c75 uint32_t data; in crc_data_register_read() local
76 data = CRC_DATA; in crc_data_register_read()
77 return (data); in crc_data_register_read()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32vf103/standard_peripheral/source/
Dgd32vf103_dac.c153 uint16_t data = 0U; in dac_output_value_get() local
156 data = (uint16_t)DAC0_DO; in dac_output_value_get()
159 data = (uint16_t)DAC1_DO; in dac_output_value_get()
161 return data; in dac_output_value_get()
176 void dac_data_set(uint32_t dac_periph, uint32_t dac_align, uint16_t data) in dac_data_set() argument
182 DAC0_R12DH = data; in dac_data_set()
186 DAC0_L12DH = data; in dac_data_set()
190 DAC0_R8DH = data; in dac_data_set()
199 DAC1_R12DH = data; in dac_data_set()
203 DAC1_L12DH = data; in dac_data_set()
[all …]
Dgd32vf103_bkp.c63 void bkp_data_write(bkp_data_register_enum register_number, uint16_t data) in bkp_data_write() argument
66 BKP_DATA10_41((uint32_t)register_number - 1U) = data; in bkp_data_write()
68 BKP_DATA0_9((uint32_t)register_number - 1U) = data; in bkp_data_write()
84 uint16_t data = 0U; in bkp_data_read() local
88 data = BKP_DATA10_41((uint32_t)register_number - 1U); in bkp_data_read()
90 data = BKP_DATA0_9((uint32_t)register_number - 1U); in bkp_data_read()
94 return data; in bkp_data_read()
Dgd32vf103_crc.c73 uint32_t data; in crc_data_register_read() local
74 data = CRC_DATA; in crc_data_register_read()
75 return (data); in crc_data_register_read()
Dgd32vf103_fmc.c142 fmc_state_enum fmc_word_program(uint32_t address, uint32_t data) in fmc_word_program() argument
150 REG32(address) = data; in fmc_word_program()
166 fmc_state_enum fmc_halfword_program(uint32_t address, uint16_t data) in fmc_halfword_program() argument
174 REG16(address) = data; in fmc_halfword_program()
424 fmc_state_enum ob_data_program(uint32_t address, uint8_t data) in ob_data_program() argument
431 REG16(address) = data; in ob_data_program()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f4xx/standard_peripheral/source/
Dgd32f4xx_dac.c155 uint16_t data = 0U; in dac_output_value_get() local
158 data = (uint16_t)DAC0_DO; in dac_output_value_get()
161 data = (uint16_t)DAC1_DO; in dac_output_value_get()
163 return data; in dac_output_value_get()
178 void dac_data_set(uint32_t dac_periph, uint32_t dac_align, uint16_t data) in dac_data_set() argument
184 DAC0_R12DH = data; in dac_data_set()
188 DAC0_L12DH = data; in dac_data_set()
192 DAC0_R8DH = data; in dac_data_set()
201 DAC1_R12DH = data; in dac_data_set()
205 DAC1_L12DH = data; in dac_data_set()
[all …]
Dgd32f4xx_crc.c75 uint32_t data; in crc_data_register_read() local
76 data = CRC_DATA; in crc_data_register_read()
77 return (data); in crc_data_register_read()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e50x/standard_peripheral/source/
Dgd32e50x_dac.c154 uint16_t data = 0U; in dac_output_value_get() local
157 data = (uint16_t)OUT0_DO; in dac_output_value_get()
160 data = (uint16_t)OUT1_DO; in dac_output_value_get()
162 return data; in dac_output_value_get()
177 void dac_data_set(uint8_t dac_out, uint32_t dac_align, uint16_t data) in dac_data_set() argument
184 OUT0_R12DH = data; in dac_data_set()
188 OUT0_L12DH = data; in dac_data_set()
192 OUT0_R8DH = data; in dac_data_set()
202 OUT1_R12DH = data; in dac_data_set()
206 OUT1_L12DH = data; in dac_data_set()
[all …]
Dgd32e50x_bkp.c63 void bkp_write_data(bkp_data_register_enum register_number, uint16_t data) in bkp_write_data() argument
66 BKP_DATA10_41(register_number-1U) = data; in bkp_write_data()
68 BKP_DATA0_9(register_number-1U) = data; in bkp_write_data()
84 uint16_t data = 0U; in bkp_read_data() local
88 data = BKP_DATA10_41(register_number-1U); in bkp_read_data()
90 data = BKP_DATA0_9(register_number-1U); in bkp_read_data()
94 return data; in bkp_read_data()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f3x0/standard_peripheral/source/
Dgd32f3x0_dac.c297 uint16_t data = 0U; in dac_output_value_get() local
298 data = (uint16_t)DAC_DO; in dac_output_value_get()
299 return data; in dac_output_value_get()
369 void dac_data_set(uint32_t dac_align, uint16_t data) in dac_data_set() argument
374 DAC_R12DH = data; in dac_data_set()
378 DAC_L12DH = data; in dac_data_set()
382 DAC_R8DH = data; in dac_data_set()
Dgd32f3x0_fmc.c186 fmc_state_enum fmc_word_program(uint32_t address, uint32_t data) in fmc_word_program() argument
194 REG32(address) = data; in fmc_word_program()
214 fmc_state_enum fmc_halfword_program(uint32_t address, uint16_t data) in fmc_halfword_program() argument
222 REG16(address) = data; in fmc_halfword_program()
242 fmc_state_enum fmc_word_reprogram(uint32_t address, uint32_t data) in fmc_word_reprogram() argument
251 REG32(address) = data; in fmc_word_reprogram()
569 fmc_state_enum ob_data_program(uint32_t address, uint8_t data) in ob_data_program() argument
580 REG16(address) = data ; in ob_data_program()
607 ob_value_modify(address, (uint16_t)data ,&ob_parm); in ob_data_program()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32l23x/standard_peripheral/source/
Dgd32l23x_dac.c128 uint16_t data = 0U; in dac_output_value_get() local
129 data = (uint16_t)OUT_DO; in dac_output_value_get()
131 return data; in dac_output_value_get()
145 void dac_data_set(uint32_t dac_align, uint16_t data) in dac_data_set() argument
150 OUT_R12DH = data; in dac_data_set()
154 OUT_L12DH = data; in dac_data_set()
158 OUT_R8DH = data; in dac_data_set()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32a50x/standard_peripheral/source/
Dgd32a50x_dac.c128 uint16_t data = 0U; in dac_output_value_get() local
129 data = (uint16_t)OUT_DO; in dac_output_value_get()
131 return data; in dac_output_value_get()
145 void dac_data_set(uint32_t dac_align, uint16_t data) in dac_data_set() argument
150 OUT_R12DH = data; in dac_data_set()
154 OUT_L12DH = data; in dac_data_set()
158 OUT_R8DH = data; in dac_data_set()
Dgd32a50x_mfcom.c465 void mfcom_buffer_write(uint32_t shifter, uint32_t data, uint32_t rwmode) in mfcom_buffer_write() argument
470 MFCOM_SBUF(shifter) = data; in mfcom_buffer_write()
474 MFCOM_SBUFBIS(shifter) = data; in mfcom_buffer_write()
478 MFCOM_SBUFBYS(shifter) = data; in mfcom_buffer_write()
482 MFCOM_SBUFBBS(shifter) = data; in mfcom_buffer_write()
503 uint32_t data; in mfcom_buffer_read() local
507 data = MFCOM_SBUF(shifter); in mfcom_buffer_read()
511 data = MFCOM_SBUFBIS(shifter); in mfcom_buffer_read()
515 data = MFCOM_SBUFBYS(shifter); in mfcom_buffer_read()
519 data = MFCOM_SBUFBBS(shifter); in mfcom_buffer_read()
[all …]
Dgd32a50x_bkp.c61 void bkp_data_write(bkp_data_register_enum register_number, uint16_t data) in bkp_data_write() argument
64 BKP_DATA0_9(register_number-1U) = data; in bkp_data_write()
80 uint16_t data = 0U; in bkp_data_read() local
84 data = BKP_DATA0_9(register_number-1U); in bkp_data_read()
88 return data; in bkp_data_read()
Dgd32a50x_fmc.c610 fmc_state_enum fmc_doubleword_program(uint32_t address, uint64_t data) in fmc_doubleword_program() argument
619 data0 = (uint32_t)(data & 0xFFFFFFFFU); in fmc_doubleword_program()
620 data1 = (uint32_t)((data >> 32U) & 0xFFFFFFFFU); in fmc_doubleword_program()
638 data0 = (uint32_t)(data & 0xFFFFFFFFU); in fmc_doubleword_program()
639 data1 = (uint32_t)((data >> 32U) & 0xFFFFFFFFU); in fmc_doubleword_program()
674 fmc_state_enum fmc_fast_program(uint32_t address, uint64_t data[]) in fmc_fast_program() argument
713 REG32(address) = (uint32_t)(data[index] & 0x00000000FFFFFFFFU); in fmc_fast_program()
714 REG32(address + 4U) = (uint32_t)(data[index] >> 32U); in fmc_fast_program()
736 REG32(address) = (uint32_t)(data[index] & 0x00000000FFFFFFFFU); in fmc_fast_program()
737 REG32(address + 4U) = (uint32_t)(data[index] >> 32U); in fmc_fast_program()
[all …]
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/scripts/tests/gd32headers/
Dconftest.py17 def data(): function
23 def hal_path(data): argument
25 return data / "hal"
Dtest_gd32headers.py9 def test_main(data, hal_path, tmp_path): argument
15 ref_adc_file = data / "gd32_adc.h"
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/scripts/tests/gd32pinctrl/
Dtest_gd32pinctrl.py5 def test_main(data, tmp_path): argument
8 main(data, tmp_path)
20 ref_file = data / file

123456