55 Commits (5f3e005b6791634b104fa6385c8a9bf5ed1af164)

Author SHA1 Message Date
Damien George a8a4b01af6 stmhal: Add PWM capability for LED(3) and LED(4) on pyboards. 9 years ago
Damien George ea89b80ff4 stmhal: Make TIM3 available for use by the user. 9 years ago
Damien George d363133917 stmhal: Make USB CDC driver use SOF instead of TIM3 for outgoing data. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George f54a96d6a2 stmhal/timer: Use mp_float_t instead of float. 9 years ago
Damien George 66b96822fb stmhal: Add option to free up TIM3 from USB VCP polling. 9 years ago
Damien George e99e6c883d stmhal: Move flash storage idle tick handler from TIM3 to SysTick. 9 years ago
Dave Curtis 32b3549cce stmhal: Add symbolic #defines for interrupt levels in irq.h. 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Dave Hylands ea8bf81058 stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 9 years ago
Damien George 7693ef3bd6 stmhal: Allow ADC.read_timed to take Timer object in place of freq. 9 years ago
Damien George abc24c1876 stmhal: Allow DAC.write_timed to take Timer object in place of freq. 9 years ago
Dave Hylands fdcb3b7ebb stmhal: Actually disable unhandled timer interrupts. 10 years ago
Dave Hylands fd787c5e4e stmhal: Reset the timer counter to zero after changing the auto reload. 10 years ago
Damien George c92c7a69fd stmhal: Exclude code for those timers that don't exist in the hardware. 10 years ago
blmorris 4c45921349 stmhal: Use new %q format to print qstr's in a few more places. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Dave Hylands 49d8e5ebaa stmhal: Fix a bug related to unhandled channel interrupts. 10 years ago
Dave Hylands b4c9a25eab stmhal: Add support for quadrature encoder mode to pyb.TimerChannel. 10 years ago
Damien George d38939e676 stmhal: Reset state of timer when deinit is called. 10 years ago
Dave Hylands caf5c40c19 stmhal: Fix problem when passing callback= to timer init function. 10 years ago
Damien George 418ec8bbba stmhal: Properly deinit timer object. 10 years ago
Damien George 7a53ac8ec2 stmhal: Allow to build without float support if wanted. 10 years ago
Damien George 3b51b3e90f stmhal: Collect all root pointers together in 1 place. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
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