See the link below, page 12 for reference to my question. Below is the text where my question came from. I am working on a STM32F1 Micro, getting the USB up and running. JUST started this part of the...
Type: Posts; User: Daniel.Blesener
See the link below, page 12 for reference to my question. Below is the text where my question came from. I am working on a STM32F1 Micro, getting the USB up and running. JUST started this part of the...
I couldn't wait, I went and tested it and Jim you were right. I will be using this forum more often. Thanks again for the help.
smokeyangel - That makes sense. All the data I am working with is uint16. ADC1_DMA1_Base is not a pointer, it is just a variable I made. I used stm32 DMA library functions to redirect all converted...
*The values "transferred" are just incorrect
Jim, this loop is in an interrupt. Each time the the proccessor completes ADC conversion for all 8 channels, the data is automatically stores in the array ADC1_DMA1C1_Base[]. For the first 100...
I need to make a boxcar average for analog to digital conversions. I cannot do this when one array won't copy into another.
//DEBUG TEST
for(Channel = 0; Channel <= ADC1_NUM_OF_CHANNELS...
Thank you for the response, it was very clear. No more help needed here.
Below is a definition in a peripheral of the STM3210X Processor. In looking through peripheral drivers, I notice many segments of code which have an offset of some value. Does this effect how I enter...
I just took a small chunk off the array...
Aduril, thanks for the response again. I should have thought of that, and it works! I would explain what is going on up there but you already solved the problem : )
Actually I do have one more question though. I have to define a global if the two sections of code below are defined in two different header files correct? If I try to define a bool anywhere besides...
anduril, not sure what part of the code you want since there are 20+ thousand lines. All I have for variables is an array, 2 indexes and a bool which switches the head and tail of the circular buffer...
I implemented a circular buffer using variables already written in a program. All I needed to use was ONE new bool variable. This code is so damn full I have no more memory for ONE more bool...
Here is a chunk of code with multiple uses of the word reentrant AFTER a function. I have never seen this, I found some information about reentrant online, is this word just implying that these...
> Wouldn't the quickest and most reliable source of information at work be...other programmers with whom you're working? Or hell, search the source for the typedef?
No, programmer is out of state at...
I should also not I have no idea why he is putting external before defining a function...??? external is already placed before functions implicitly. This is just redundant correct?
Below is the code for a program I am modifying at work. EXT is just replaced by external each time it is used. u8 in this program is just an 8 bit unsigned variable. Does anybody know what the V in...
Thanks to all. Makes sense now. u16/u8 is unsigned type, for Raisonance products anyways.
I do not understand what is happening in this statement.
#ifdef ENABLE_TEST_POINTS//tp_write_val(u16);
// Display a value using a test point
void tp_write_val(u16 val)
{
u8 c;
PC7_LOW;...
Thanks for the quick replies! I still do not understand what
CLK_Prescaler_TypeDef;
means though? Does it need to be there? All the statements like this have something at the end similar. ...
Hey all, thanks for the help. This should be fairly easy for someone who understands this syntax well. I am modifying some code for work, but ran into a little confusion with the statement below,...