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
Andrey Gusakov
4cb09d3179
adc: deduplicate debug code
2024-05-09 08:30:24 -04:00
Andrey Gusakov
207a3d8c98
adc: avoid two lookup tables
2024-05-09 08:30:24 -04:00
Andrey Gusakov
7e509c432e
adc: dead
2024-05-09 08:30:24 -04:00
Andrey Gusakov
eab5e16282
Store fast adc error for debug
2024-05-09 08:30:24 -04:00
Andrey Gusakov
5fb60bc351
adc_inputs: we have two methods doing same thing, keep simple one
2024-05-05 16:44:16 -04:00
Andrey Gusakov
0ce04c84cc
Struct: designator initialization
2024-05-05 13:26:24 -04:00
Andrey Gusakov
e2955fcb34
adc_inputs: code style
2024-05-05 13:26:24 -04:00
Andrey Gusakov
7a8f0cc511
adc_inputs: unify naming
2024-05-05 13:26:24 -04:00
Andrey Gusakov
6b265dd4f8
adc: introduce external adc channels
2024-05-05 13:26:24 -04:00
Andrey Gusakov
fe3b6eb26b
adc: simplify isAdcChannelValid()
2024-05-05 13:26:24 -04:00