Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hello Everyone!!
While I was trying some online C language quiz, I was stuck in problem where the constraints was to take strings that only have 'R' an 'S' letter. I searched it online and got some suitable resource about the scanset https://www.geeksforgeeks.org/scansets-in-c/. However, I have...
Hi All,
Last night I read an article on choosing correct integer size https://embeddedgurus.com/stack-overflow/2008/06/efficient-c-tips-1-choosing-the-correct-integer-size/. Before reading this article, I was unaware of these three keywords. These keywords are:
1) Fixed width unsigned 8-bit...
Hi,
I am learning RTOS by myself taking ucos-ii and MSP432 evaluation board as a reference. In the reference code, which I download from its website, I find difficulty in creating two tasks(LED Blinking) that have different priorities. In reference code, BSP_Tick_Init() function called in the...
I am working on 16 bit micro-controller (MSP430f67791A) and using IAR compiler. My question is that someone tell me that in a 16 bit micro-controller, if you take a 8bit variable then the CPU would take more instruction cycle to execute it rather than a 16 bit variable.
After his words, I was...
I am trying to learn the RTOS from scratch and for this, I use freeRTOS.org as a reference. I find out this site as a best resource to learn the RTOS. However, I have some doubts and I was trying to find out but not able to get exact answers. The questions are:
1) How to find out that device...
Yes, this is exactly what I want but here with a slight difference. I know that the result will have some negative values, so I want to subtract from the last value to the first one. Means 0002E03D - 0002DECE. With this, I am able to find out exactly the value which I want.
I already found out...
Actually what I am trying to do, this is the code memory allocated size by the module/function written in my project. Now what I have to do, I have to check out that how much amount of memory is been using by EACH function. So as its a lengthy and hectic work, I am thinking to just write a...
Hi,
I want to try to find out that is it possible to reconfigure this value into two of others variables.
e.g.
This is the user input value 0002DECE - 0002E03D
and I want to try to reconfigure it in two variables like 0002DECE & 0002E03D.
Does C language provide us some sort of function to...
Hi all,
Recently I start working on MSP430F6x series micro-controller. I have my reference code and I find out there a keyword __data20
Like
typedef signed long __data20 s32_20;
typedef signed short __data20 s16_20;
typedef signed char __data20 s8_20;
I wants to know what does that means...
I also tried with #include "io.h" but that header file include another header file names features.h. This time again I download it, saved in my current working directory. Now, I have an error with message #include <sys/cdefs.h>
No such file or directory.
Re: [MOVED] #include <sys/io.h> file not found
I am using "make" command to compile my code.
- - - Updated - - -
Please can you elaborate or put some light on your comment
. And of course I use "io/sys.h" in my running directory. But that also not helps.
Hi all,
I am working on writing my device driver code. This time I write code for my DB-25 parallel port, but for this I have to use sys/io.h header file. As per my compiler error, its not found in directory. For this, I download the header file and insert in the directory. But still error...
why kernel assigns 250 as a major number in device driver
Hi all,
I recently stated working on device driver development. Initially, I build a simple driver and application. The thing which I notice are that every time when I inserts my module, kernel assign a major number 250. I wants to know...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.