Search found 5 matches

by daniellpu9
Wed May 21, 2014 6:13 pm
Forum: General Support
Topic: chSysLockFromIsr();
Replies: 1
Views: 2811

chSysLockFromIsr();

What does chSysLockFromIsr(); exactly Does ??? I have had that question since im using CHibiOS.
And why do i have to use I functions when i use chSysLockFromIsr();?

Thanks!
by daniellpu9
Fri May 02, 2014 3:35 pm
Forum: STM32 Support
Topic: Serial Driver over USB
Replies: 2
Views: 2459

Re: Serial Driver over USB

But, where are they??
by daniellpu9
Fri May 02, 2014 3:23 pm
Forum: STM32 Support
Topic: Serial Driver over USB
Replies: 2
Views: 2459

Serial Driver over USB

Hi, everybody, i hope you be fine.

I want to send some data throught the USB port like a Serial Driver.
Is Someone have an example of that ??

I'd appreciate that, thanks!!!! ;) ;) ;) ;)
by daniellpu9
Tue Apr 29, 2014 9:34 pm
Forum: STM32 Support
Topic: Serial Driver Problem
Replies: 7
Views: 5772

Re: Serial Driver Problem

But i use that function FROMISR() because in the STM32F4 example you uses that a lot... i read the documentation about that function and i dont understood >/
by daniellpu9
Tue Apr 29, 2014 7:33 pm
Forum: STM32 Support
Topic: Serial Driver Problem
Replies: 7
Views: 5772

Re: Serial Driver Problem

Hi to everyone,
i have this code

#include "ch.h"
#include "hal.h"
#include "test.h"

static void pwmpcb(PWMDriver *pwmp);
static void adccb(ADCDriver *adcp, adcsample_t *buffer, size_t n);
static void spicb(SPIDriver *spip);

int avg_ch1, avg_ch2;
int bla= 0x0400;
int dat1,dat2 ...