30 Commits (276159e5ddedfdb863bf34e4ae25c58621af5750)

Author SHA1 Message Date
Paul Sokolovsky 46c3ab2004 modsys: Add sys.print_exception(exc, file=sys.stdout) function. 10 years ago
Dave Hylands 1c795445b3 Add support for complimentary channel output and deadtime. 10 years ago
Damien George d03c681608 stmhal: Use mp_uint_t where appropriate. 10 years ago
Damien George ba0383a8c7 stmhal, timer: Fix timer.chanel so mode can be a keyword. 10 years ago
Damien George 55f68b3ce8 stmhal, timer: Improve accuracy of freq computation. 10 years ago
Damien George 97ef94df83 stmhal, timer: Set freq from float; get timer source freq. 10 years ago
Damien George 24119176e7 stmhal: Allow pyb.freq() function to change SYSCLK frequency. 10 years ago
Damien George f042d7a4d7 stmhal: Fix edge case for timer PWM of 100%. 10 years ago
Dave Hylands 39296b40d4 Fix timer overflow code. 10 years ago
Damien George e8ea0724da stmhal, timer: Factor code to compute PWM percent; improve 32bit case. 10 years ago
Dave Hylands 53d5fa641f Add pulse_width_percent to teensy. 10 years ago
Damien George 0e58c5810d stmhal: Add pulse_width_ratio to timer channel object. 10 years ago
Dave Hylands becbc87fd7 Add Timer support (PWM, OC, IC) for stmhal and teensy 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George bf133f7737 stmhal: Resolve question in comment about timer clock. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Damien George e70b5dbe58 stmhal: Some reordering of code/functions. 11 years ago
Dave Hylands 0d81c133b3 Add timer_deinit and call it just before doing a soft-restart 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 5874c1c92b stmhal: Remove #include <stdint.h> from mpconfigport.h. 11 years ago
Damien George 3eb8163b16 stmhal: Add documentation for DAC and Timer classes. 11 years ago
Damien George dbc81df5d4 Simplify names for argcheck.c / arg parsing. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 6691c9e655 stmhal, timer: Remove obsolete global variable. 11 years ago
Damien George 7fdfa93700 stmhal: Add Timer class: simple TIM control, incl callback on IRQ. 11 years ago
Damien George 6d983539bc stmhal: Improve flash storage cache management. 11 years ago
Damien George 4d7f4eb6a9 stmhal: Add ADC function to read data at a given frequency. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George a12be917a4 stmhal: Add timer module; move servo PWM from TIM2 to TIM5. 11 years ago