Search:

Type: Posts; User: Satya

Page 1 of 14 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    309

    Why function used in Return statement

    i have seen in some places of coding where a function is used in return statement. Why is it done? Any advantage?

    Example




    int SubFunction1(void)
    {
    return subfunction2();
  2. Replies
    2
    Views
    660

    pointer to pointer as function arguments

    I am really trying understand pointer to pointer in function arguments. I am seeing a lot in my example projects using double pointer. I want to know what is the main use of them? One example...
  3. Replies
    5
    Views
    493

    The document is very big. Can you help me if it...

    The document is very big. Can you help me if it answers my question. Please advise.
  4. Replies
    5
    Views
    493

    FreeRTOS

    FreeRTOS
  5. Replies
    5
    Views
    493

    Clarification on tasks

    I know that RTOS executes the tasks at the exact time. But i have one clarification suppose if i create two taska at 10ms and 20ms. When the first 10ms is over it executes 10ms task but when another...
  6. Replies
    1
    Views
    509

    Confusion with global variables

    I am getting strict orders to limit the number of global variables to be used. So i am trying to change the logic if possible. One such scenario is the application gives a request to transmit a group...
  7. Thread: Steps to program

    by Satya
    Replies
    2
    Views
    463

    Steps to program

    Yeah i did so much programming but every time i start writing a new program/logic nervousness comes in. Just want to know the exact steps to follow before I jump to coding. I think i am doing a big...
  8. Replies
    1
    Views
    662

    Use of getversion info

    I have seen implementation of getversioninfo in each c file of a set of files. I did not understand the purpose of version information of each file separately? I have seen that the generated files do...
  9. Replies
    4
    Views
    932

    Structures add padding bytes i should not worry...

    Structures add padding bytes i should not worry about that ?
  10. Replies
    4
    Views
    1,085

    Yes the static library did the job. Thanks.

    Yes the static library did the job. Thanks.
  11. Replies
    4
    Views
    932

    Defining the variables

    Please help me to come out of this confusion. whenever i start a project and start developing i declare global variables based on the requirement like int, float etc. But lot of people suggesting me...
  12. Replies
    4
    Views
    1,085

    It is an embedded project for micro controllers i...

    It is an embedded project for micro controllers i am not sure if DLL files will be available for them.
  13. Replies
    4
    Views
    1,085

    Api not accessible

    It is little bit difficult for me to explain this scenario. I have a project developed by manufacturers and i downloaded and it compiles with their project environment. They provide some API which i...
  14. Replies
    4
    Views
    608

    Why is it so ? And how shall i proceed ? Can i...

    Why is it so ? And how shall i proceed ? Can i just neglect and proceed ? Please advise.
  15. Replies
    4
    Views
    608

    C program not executing Serially

    According to me C program should execute sequentially. I am referring to one of the standard C example projects developed by the micro controller chip manufacturers, i see in some of the functions...
  16. Replies
    3
    Views
    2,561

    Thank you very much for the reply. Can you please...

    Thank you very much for the reply. Can you please explain me

    with one example? How do i know whether it is aligned or not aligned correctly? Please help.
  17. Replies
    3
    Views
    2,561

    Pointer Type Casting

    I am confused with pointer type casting. I read that i cannot type case an integer pointer to float pointer. Am I correct? The code is


    #include <stdio.h>

    int main(void)
    {
    int...
  18. Replies
    1
    Views
    503

    Timer Application Interface

    It is a micro controller based application. I am writing a driver for 1ms now i want to give to application an interface such that he can use it for example if he wants to call a particular task...
  19. Replies
    1
    Views
    622

    Function definition clarification

    Generally when developing an application or a logic we need to write a function. There is always chance that you can write either as void function with no arguments or something with function...
  20. Replies
    4
    Views
    867

    What you said is correct. Thank you. I will try...

    What you said is correct. Thank you. I will try to rewrite the code. I am using git version control.
  21. Replies
    4
    Views
    867

    What you say is correct but i am right now at...

    What you say is correct but i am right now at every advance stage of project. So i am not sure at this stage i can take the risk of re writing the code.
  22. Replies
    4
    Views
    867

    Large C file need to analyze

    I have a large c project with several files. The problem is frequently i get issues and need to relook each and every variable for debugging. I need some tools which can generate a kind of all...
  23. Replies
    1
    Views
    617

    counting the number of #defines

    I have a number of #defines as of now it is around 50. I have to create an array of these number of #defines. In future the number of defines may increase so the array. Is it possible to count the...
  24. Replies
    4
    Views
    696

    I wanted to have part number as global variable...

    I wanted to have part number as global variable as in future it may change for every new version and change frequently, i want to provide at a place where it can be changed easily.
  25. Replies
    4
    Views
    696

    Ok, Thank you. I modified the code as follows ...

    Ok, Thank you. I modified the code as follows


    #include <stdio.h>
    typedef unsigned char uint8_t;
    typedef unsigned long uint64_t;

    /*
    The partnumber should be transmitted as BCD
    The...
Results 1 to 25 of 349
Page 1 of 14 1 2 3 4