Commit Graph

174 Commits

Author SHA1 Message Date
rusefi 4547bc067b dead/doc
only:alphax-8chan
2025-01-22 10:56:41 -05:00
kifir 1aaea76ac9 Extract part of functionality into `FunctionalSensorBase` class #7180 2024-12-24 18:35:53 -04:00
rusefillc faa7020ce0 TLS115_PG feedback #5762
only:adc inputs: weak boardGetAnalogDiagnostic()
2024-12-11 17:33:41 -05:00
Andrey Gusakov 8538c31fc4 adc: try to clean-up naming mess: convert helpers 2024-12-09 07:43:43 -05:00
Andrey Gusakov 0ed513f3f3 adc: try to clean naming mess: getVoltageDivided() rename to adcGetScaledVoltage() 2024-12-09 07:43:43 -05:00
Andrey Gusakov cbe59c90c9 adc: try to clean naming mess: getVoltage() to adcGetRawVoltage() 2024-12-09 07:43:43 -05:00
Andrey Gusakov 000c6ee284 adc: try to clean naming mess: getAdcValue() rename to adcGetRawValue() 2024-12-09 07:43:43 -05:00
Andrey Gusakov 1ad805e1a8 adc: onchip: dead boardAdjustVoltage 2024-12-09 07:43:43 -05:00
rusefillc ec83526370
modularize knock adc for h7 (#7086)
* modularize knock adc for h7
only:uaefi

* modularize knock adc for h7
only:uaefi
2024-11-20 09:18:28 -05:00
rusefillc 15045d3272 only:analog docs 2024-11-08 23:14:30 -05:00
Andrey Gusakov b2dfda3aee mpu_utils: implement adcMuxedGetParent() 2024-09-04 08:41:46 -04:00
rusefillc 355df83e61 only:docs 2024-08-28 21:06:03 -04:00
Andrey 1530b3dbd9 PUBLIC_API_WEAK or BOARD_WEAK #6748 2024-07-27 12:47:56 -04:00
rusefi e2bc1cbade only:going fancy enums 2024-07-22 19:49:42 -04:00
rusefi 8a98d21c00 only:ADC mode argument is always the same FAST, renaming method 2024-07-22 19:28:17 -04:00
rusefi d44bb8d3f8 first mc33810 SPI communication is not happy #6733
only:hellen154hyundai_f7
2024-07-20 22:55:03 -04:00
rusefi 0ec1f260c1 first mc33810 SPI communication is not happy #6733
huh? stepper was not waiting? improving default parameter value, reusing new default parameter
2024-07-20 22:09:15 -04:00
rusefi 46962048e7 first mc33810 SPI communication is not happy #6733
better order of operations - first update consumers, then update naive synchronization
2024-07-20 22:08:10 -04:00
Andrey Gusakov 42213ac172 getPinNameByAdcChannel: be more safe
Know buffer size
Use snprintf
Expect null from portname()
2024-07-20 17:37:52 -04:00
Andrey Gusakov 4007e0d7f8 adc_subscription: call efiSetPadMode for primary input only
Same pin can be used by two analog inputs (externaly muxed)
Call brain_pin_markUsed() only while requesting for primary user
2024-07-20 17:37:52 -04:00
rusefi d895f4dfa4 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:clean-up
2024-07-13 19:45:55 -04:00
Andrey Gusakov 7ffb594f5b fastAdc: validate that channels is enabled 2024-07-13 18:18:23 -04:00
Andrey Gusakov 2689978341 ADC: adcHwChannelMode fix array size
adcHwChannelMode defines ADC type for each of adc_channel_e element
Use EFI_ADC_TOTAL_CHANNELS for array size.
Get rid of HW_MAX_ADC_INDEX that previously was defining total
ADC input count for MCU. With ADC mux, external ADCs and so on this
is no longer correct.
2024-07-13 18:18:23 -04:00
rusefi cdab259efa hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:hellen154hyundai_f7
2024-07-11 09:37:06 -04:00
rusefi 46907c3ea6 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:hellen154hyundai_f7
2024-07-10 18:03:28 -04:00
Andrey 97acf15a41 only:AdcSubscription::ResetFilters() 2024-07-07 00:21:21 -04:00
rusEFI LLC 5e3a2cb40d typo 2024-07-06 23:15:51 -04:00
rusEFI LLC ae2533c2d9 only:boardAdjustVoltage 2024-07-06 22:50:53 -04:00
rusEFI LLC 07b49363c1 only:getAnalogInputDividerCoefficient 2024-07-06 22:00:56 -04:00
Andrey Gusakov 37e8d38ec7 adc: some comments 2024-06-25 16:54:21 -04:00
Andrey Gusakov 5758ea579d adc: minor code cleanups and re-orders 2024-06-25 10:34:22 -04:00
Andrey Gusakov 2a7f143104 ADC: extract on-chip driver code to separate file 2024-06-25 07:18:43 -04:00
Andrey Gusakov d1a1f4045a ADC: extend AdcToken 2024-06-25 07:18:43 -04:00
Andrey Gusakov 2ee8ef338a adc: incapsulate some private data 2024-06-25 07:18:43 -04:00
Andrey Gusakov 80bf0205db ADC: FastAdcToken rename to AdcToken 2024-06-20 09:45:31 -04:00
Andrey Gusakov 3ac25a82fb ADC: AdcDevice::enableChannel: return channelAdcIndex or error
This value will be used as part of AdcToken for multi ADC support
2024-06-20 08:16:03 -04:00
Andrey Gusakov dbbe6ace0a ADC: AdcConfiguration.h rename to AdcDevice.h 2024-06-20 08:16:03 -04:00
Matthew Kennedy 27e0a80c82 compile-time enforcement of printf strings
only:uaefi
2024-06-10 19:11:35 -04:00
Andrey Gusakov 5837abb4f1 ADC: DMA buffers should be quilified volatile 2024-05-12 10:59:10 -04:00
Andrey Gusakov 75b3a26697 ADC: dead 2024-05-12 10:59:10 -04:00
Andrey Gusakov 5362dedd5b ADC: deduplicate counters, increment counter after conversion done 2024-05-09 17:05:27 -04:00
Andrey Gusakov d04f2cf723 ADC: more clean-up and rearrange 2024-05-09 17:05:27 -04:00
Andrey Gusakov 399cd3f5b7 ADC: dead 2024-05-09 17:05:27 -04:00
Andrey Gusakov 7b5a28f288 ADC: debug function valid input check 2024-05-09 17:05:27 -04:00
Andrey Gusakov f8817a8574 ADC: common definitions to common header 2024-05-09 13:08:29 -04:00
Andrey Gusakov 2ec44e4d39 ADC: no magic numbers 2024-05-09 13:08:29 -04:00
Andrey Gusakov 6a0eb0b0c8 ADC: encapsulation 2024-05-09 13:08:29 -04:00
Andrey Gusakov 123d66b29a adc: style 2024-05-09 13:08:29 -04:00
Andrey Gusakov 1bf463b233 adc: more dead 2024-05-09 09:42:21 -04:00
Andrey Gusakov cb011a87d0 ADC: dead 2024-05-09 09:42:21 -04:00