Matthew Kennedy
7277b04039
force a pwm cycle start (skip cycles) if late ( #2097 )
...
* skip cycles if late
* fail at lower count
* start at -1
2020-12-18 08:21:18 -05:00
rusefillc
ba33a758e8
avoid float -> int64 conversion #1977
...
both cases have to be relatively small durations of time cherry picking...
2020-12-03 13:30:17 -05:00
rusefillc
641959b9a3
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 17:48:09 -05:00
Matthew Kennedy
018db0df94
Fix #1873 - compute dynamic PWM iterationLimit ( #1874 )
...
* fix
* remove define
* add an assert
* typo
* don't do a 64bit divide
* oh that's a float
2020-10-11 20:25:38 -04:00
Matthew Kennedy
aad5d987a2
pwm perf ( #1858 )
...
* pwm perf
* this trace is now redundant
2020-10-05 08:23:30 -04:00
Matthew Kennedy
3a7c6f242b
Hardware pwm ( #1283 )
...
* hard pwm
* fix, comments
* PC6-9 and PD12-15
* PB6-9
* dynamic frequency
* f7 mcuconf
* format
* relocate to common, support variable frequency
* error handling
* oops
* fix test build
* noop kinetis
* better guards
* guard for bl
* guards don't work if they have typos
* more mapping
* oops
* don't use for slow pwm
* enable pwm
* guard properly
* save a little memory
* use less mem
* correct timers
* all your ram are belong to us
* update limit & comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-28 16:02:41 -04:00
Matthew Kennedy
96a800acb9
fix gppwm on-off mode ( #1406 )
...
* fix
* put it back
* do it with PWM instead
* comments
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-09 09:25:45 -04:00
rusefi
4ea0a3de26
nicer error messages
2020-05-09 01:49:17 -04:00
rusefi
1b84406e77
dead code
2020-04-26 17:40:12 -04:00
rusEfi
4854d123bb
PWM name into warning message
2020-04-19 21:48:14 -04:00
Matthew Kennedy
2349d74f0b
Default to applyPinState ( #1219 )
...
* make applyPinState default
* consumers
* format
2020-03-25 18:14:09 -04:00
rusefi
0c3f73c2b4
code style
2020-01-21 01:47:58 -05:00
Matthew Kennedy
09dc2f2390
don't use us for pwm calculation ( #1106 )
2020-01-19 07:02:49 -05:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
Matthew Kennedy
95a7a9a8e1
Strongly typed action constructor ( #1087 )
...
* strong typing
* maybe we needed that one
2020-01-07 18:10:31 -05:00
Matthew Kennedy
5c85d53e16
Pass action_s instead of callback/param ( #1084 )
...
* change action
* consumers
* fix test
* didn't mean to add those
* simplify
* fix simulator
* fix sim for real
* oy
* maybe this time the simulator will actually be fixed, for real
* don't rely on undefined behavior
2020-01-07 00:41:18 -05:00
rusefi
fde9a449cf
random refactoring: hopefully not changing byte size of any variables but clarifying/fixing type between ticks, US and MS
2019-12-21 21:11:09 -05:00
rusefi
813b6aa6ce
The Big Refactoring of 2019: folder structure #723
2019-12-04 01:11:10 -05:00
rusefi
f6a50b7375
The Big Refactoring of 2019: folder structure #723
2019-12-04 00:35:05 -05:00