Search found 304 matches

by alex31
Thu Jun 07, 2012 3:31 pm
Forum: AVR Support
Topic: Arduino's millis(), micros() equivalent in chibios
Replies: 12
Views: 9062

Re: Arduino's millis(), micros() equivalent in chibios

chTimeNow() return the number of chibios ticks, with low 1ms resolution.
Is there any method to access high resolution time counter (cpu tick ?) to get elapsed time with better accuracy ?

Alexandre
by alex31
Thu Jun 07, 2012 2:46 pm
Forum: General Support
Topic: yet another EXT question
Replies: 2
Views: 1578

yet another EXT question

Hello. 1/ I don't understand how to use EXTConfig array, configuring the port is easy, but how to specify the input pin ? What should i put in the array if i want, by example to call extcbA0 on GPIOA,INPUT0 extcbA1 on GPIOA,INPUT1 extcbB0 on GPIOB,INPUT0 extcbB1 on GPIOB,INPUT1 something like {EXT_C...
by alex31
Wed Jun 06, 2012 3:16 pm
Forum: General Support
Topic: hal macro PAL_MODE_ALTERNATE
Replies: 3
Views: 3594

Re: hal macro PAL_MODE_ALTERNATE

many thanks for theses useful answers.

I have seen the table, wouldn't be useful to have macro in the stm32f4 port layer to name the alternate function ?
the work should be not to hard since a function has always the same alternate number for all the port/pin combination.


Alexandre
by alex31
Wed Jun 06, 2012 2:25 pm
Forum: General Support
Topic: hal macro PAL_MODE_ALTERNATE
Replies: 3
Views: 3594

hal macro PAL_MODE_ALTERNATE

Hello. This is my first post, so i will began to thanks the authors of chibios, which seems, for my beginners eyes, a fantastic, well designed, and orthogonal project to simplfy / permit the use of the body-builded mcu that we can afford now. After having using pic32/freertos, i try chibios/stm32f4,...

Go to advanced search