Searched refs:adc (Results 1 – 13 of 13) sorted by relevance
| /Renode-v1.15.3-c57714d/tools/external_control_client/examples/adc/ |
| D | main.c | 120 renode_adc_t *adc; in main() local 121 if ((error = renode_get_adc(machine, adc_name, &adc)) != NO_ERROR) { in main() 129 if ((error = renode_get_adc_channel_count(adc, &ch_count)) != NO_ERROR) { in main() 143 if ((error = renode_get_adc_channel_value(adc, 0, &val0)) != NO_ERROR) { in main() 151 if ((error = renode_set_adc_channel_value(adc, 0, val1)) != NO_ERROR) { in main() 159 if ((error = renode_get_adc_channel_value(adc, 0, &val2)) != NO_ERROR) { in main() 168 free(adc); in main() 182 free(adc); in main()
|
| /Renode-v1.15.3-c57714d/tools/external_control_client/include/ |
| D | renode_api.h | 60 renode_error_t *renode_get_adc(renode_machine_t *machine, const char *name, renode_adc_t **adc); 61 renode_error_t *renode_get_adc_channel_count(renode_adc_t *adc, int32_t *count); 62 renode_error_t *renode_get_adc_channel_value(renode_adc_t *adc, int32_t channel, uint32_t *value); 63 renode_error_t *renode_set_adc_channel_value(renode_adc_t *adc, int32_t channel, uint32_t value);
|
| /Renode-v1.15.3-c57714d/tools/external_control_client/lib/ |
| D | renode_api.c | 634 renode_error_t *renode_get_adc(renode_machine_t *machine, const char *name, renode_adc_t **adc) in renode_get_adc() argument 639 *adc = xmalloc(sizeof(renode_adc_t)); in renode_get_adc() 640 (*adc)->machine = machine; in renode_get_adc() 641 (*adc)->id = id; in renode_get_adc() 669 renode_error_t *renode_get_adc_channel_count(renode_adc_t *adc, int32_t *count) in renode_get_adc_channel_count() argument 674 .id = adc->id, in renode_get_adc_channel_count() 680 …return_error_if_fails(renode_execute_command(adc->machine->renode, ADC, &frame, sizeof(frame), off… in renode_get_adc_channel_count() 689 renode_error_t *renode_get_adc_channel_value(renode_adc_t *adc, int32_t channel, uint32_t *value) in renode_get_adc_channel_value() argument 694 .id = adc->id, in renode_get_adc_channel_value() 701 …return_error_if_fails(renode_execute_command(adc->machine->renode, ADC, &frame, sizeof(frame), off… in renode_get_adc_channel_value() [all …]
|
| /Renode-v1.15.3-c57714d/tools/external_control_client/ |
| D | README.md | 77 ### `adc` example 79 The example application using Renode API can be found in `examples/adc`. 83 renode$ mkdir build && cmake -DAPP_NAME=adc -DAPP_SOURCES_DIR=tools/external_control_client/example… 86 After starting the server in Renode, the `adc` application can be used multiple times to set ADC ch… 91 ./adc <PORT> <MACHINE_NAME> <ADC_NAME> <VALUE_WITH_UNIT>
|
| /Renode-v1.15.3-c57714d/tests/platforms/ |
| D | STM32F072b.robot | 69 …Create Machine stm32f072b--zephyr-adc.elf-s_567632-591075b4dc78decfb7ccab1d7a2477a78edc7… 77 Execute Command sysbus.adc SetDefaultValue 600 80 Execute Command sysbus.adc SetDefaultValue 1200
|
| D | ambiq-apollo4.robot | 202 Execute Command adc Channel2Data 0x00040 203 Execute Command adc Channel4Data 0x35E00 204 Execute Command adc ScanAllSlots
|
| /Renode-v1.15.3-c57714d/platforms/cpus/ |
| D | ut32m0r500.repl | 38 adc: Analog.CAES_ADC @ sysbus 0x4000F000
|
| D | sam4s.repl | 43 adc: Analog.SAM4S_ADC @ sysbus 0x40038000
|
| D | eos-s3.repl | 39 adc: Analog.EOSS3_ADC @ sysbus 0x40005A00
|
| D | max32652.repl | 52 adc: Analog.MAX32650_ADC @ sysbus 0x40034000
|
| D | stm32f0.repl | 202 adc: Analog.STM32F0_ADC @ sysbus 0x40012400
|
| D | stm32g0.repl | 249 adc: Analog.STM32G0_ADC @ sysbus 0x40012400
|
| D | ambiq-apollo4.repl | 98 adc: Analog.AmbiqApollo4_ADC @ sysbus 0x40038000
|