Gregory Nutt
aa11d637a8
STM32 TIM: Add method to get timer width. Freerun timer: Use timer width to get the correct clock rollover point.
2017-05-08 12:33:15 -06:00
Mark Schulte
4761a7d816
Add argument to timer irq callback
2017-03-01 08:49:14 -06:00
Gregory Nutt
b651e73057
STM32: Fix mismatched prototype
2017-02-27 08:18:37 -06:00
Gregory Nutt
2e30b9b252
More missing argument paramters in interrupt handlers.
2017-02-27 07:46:36 -06:00
Mark Schulte
b3222bbc8a
irq_dispatch: Add argument pointer to irq_dispatch
...
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.
2017-02-27 06:27:56 -06:00
Gregory Nutt
2e0ffc0ea3
Update some comments.
2017-02-26 09:15:57 -06:00
Gregory Nutt
fb1855244e
STM32 timer: Eliminate a warning
2016-07-11 13:13:17 -06:00
Gregory Nutt
c16500dfdb
STM32 timer. More clean up: Add all function prototypes. Reorder functions to match ordering in operations structure.
2016-07-06 14:24:59 -06:00
Gregory Nutt
711f3318c5
STM32 timer: Reorganize to conform better with the NuttX coding style
2016-07-06 13:36:17 -06:00
Max Neklyudov
d8286a7f47
STM32: Add support for Tickless mode (two timer implementation)
2016-07-06 12:48:30 -06:00
Gregory Nutt
34df98d97e
Use DEBUG assertions to save space
2016-06-03 14:49:05 -06:00
Gregory Nutt
704fadb0e6
STM32 TIM: Assure that a compilation error will occur if the old timer input clock frequency definitions are used
2016-06-03 14:17:18 -06:00
Gregory Nutt
3ec2386be8
STM32 TIM: There is a TIM17 on some parts too
2016-06-03 14:08:28 -06:00
Gregory Nutt
282edefab3
STM32 TIM: Add hooks for all previously unsupported timers. Also fix some PWM warnings.
2016-06-03 13:51:43 -06:00
Gregory Nutt
c11e923ad4
Fix a cut'n'paste error left from last commit.
2016-06-03 12:11:55 -06:00
Gregory Nutt
910bac65fa
STM32 Timer: Generalize and extend calculation of per-timer pre-scaler value. Inspired by original proposal from Pierre-noel Bouteville.
2016-06-03 11:38:59 -06:00
Gregory Nutt
88a41862b5
Revert "STM32 Timer Driver: Change calculation of per-timer pre-scaler value"
...
This reverts commit 082d32226b
.
2016-06-03 09:41:17 -06:00
Pierre-noel Bouteville
082d32226b
STM32 Timer Driver: Change calculation of per-timer pre-scaler value
2016-06-03 08:45:22 -06:00
Gregory Nutt
c00e3e55dc
Fix several places in DMA logic where a spurious semicolon causes bad conditional logic
2016-05-11 17:42:59 -06:00
pnb
0090cfe6d4
Change name of HAVE_TIMx_PWM_OUTPUT into HAVE_TIMx_GPIOCONFIG
2015-10-31 16:00:24 +01:00
pnb
668c56b1a6
avoid warning unsused function when GPIO_TIMxCHxOUT declared in board and CONFIG_STM32_TIMx not enable but an other CONFIG_STM32_TIMx is enabled
2015-10-31 15:42:00 +01:00
Paul A. Patience
a0dc724a5d
Correct #if to #ifdef when the macro can be undefined. Fix bug in AT32UC3 clock initialization: AVR32_CLOCK_PLL_OSC1 should be AVR32_CLOCK_PLL0_OSC1 and AVR32_CLOCK_PLL1_OSC1.
2015-09-01 13:47:06 -04:00
Gregory Nutt
bac1ab9a34
Make sure that all references to up_prioritize_irq() are conditioned on CONFIG_ARCH_IRQPRIO. Noted by Make Smith
2014-05-20 17:48:39 -06:00
Gregory Nutt
de7136e69b
STM32: More places where up_prioritize_irq is called when CONFIG_ARCH_IRQPRIO is not defined. Sourceforge ticket #26
2014-04-28 07:07:47 -06:00
Gregory Nutt
c8757cb0e6
STM32 Timer: Set CCMR wehn selecting timer channel. From David Sidrane
2014-02-18 13:50:46 -06:00
Gregory Nutt
e73291a8ea
Finish the high priority, nested interrupt handler test (does not work)
2013-12-22 13:23:57 -06:00
patacongo
896e32f73d
Removed stm32_internal.h; Changes for clean compile of STM32F3Discovery configuration with SPI and USB
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5630 42af7a65-404d-4744-a932-0658087f49c3
2013-02-09 15:03:49 +00:00
patacongo
14993a5356
More STM32 quadrature encoder code
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4391 42af7a65-404d-4744-a932-0658087f49c3
2012-02-14 17:48:25 +00:00
patacongo
8cbc184713
STM32 fixes for F4 32-bit timers
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4300 42af7a65-404d-4744-a932-0658087f49c3
2012-01-13 02:49:10 +00:00
patacongo
796999fbee
Apply STM32 timer patch from Mike Smith
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4280 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 00:44:41 +00:00
patacongo
d98b6337a7
STM32 ADC update
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4194 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 00:21:10 +00:00
patacongo
87ad1594c3
Add framework for lower half STM32 PWM driver; updates to the STM32 ADC driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4192 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 19:29:41 +00:00
patacongo
4014cbef3c
Add support for the STM3210E-EVAL LCD backlight
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3748 42af7a65-404d-4744-a932-0658087f49c3
2011-07-06 21:18:34 +00:00
patacongo
c718778f56
More changes from Uros
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3431 42af7a65-404d-4744-a932-0658087f49c3
2011-03-28 15:01:43 +00:00
patacongo
ebfcd6e6ff
More changes from Uros
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3426 42af7a65-404d-4744-a932-0658087f49c3
2011-03-27 19:53:36 +00:00
patacongo
721ae0f79e
Updates from Uros
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3424 42af7a65-404d-4744-a932-0658087f49c3
2011-03-27 15:03:49 +00:00
patacongo
a98616d299
Incorporate changes from Uros Platise
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3419 42af7a65-404d-4744-a932-0658087f49c3
2011-03-26 01:04:10 +00:00