Search Results

Search results 1-5 of 5.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • USBBULK.c

    Arne - - emUSB related

    Post

    Hello, I got a question regarding the Segger's Win32 code in USBBULK.c. In the function USBBULK_OpenEx(..) there is one line I don't understand: C Source Code (1 line) What happens here? thanks, Arne

  • Hello, I got a question regarding the IP code in 'IP_Config_LPC1788.c'. In: C Source Code (5 lines) The first parameter for IP_NI_LPC17xx_ConfigAddr() is the base address of the EMAC, but the second just points to the start of AHB-RAM. So I guess the function uses/reserves space in AHB-RAM. But how much space? So I can spare out the area in my linker script. best regards, Arne

  • IAR & OS_CREATETASK() and __task

    Arne - - embOS related

    Post

    Hi, IAR EWARM allows to put an extended keyword "__task" in front of a thread. If I do so then I get a compiler error in the line of OS_CREATETASK(): C Source Code (4 lines) in main() I do: C Source Code (1 line) and get this error: Quote: “ Error[Pe167]: argument of type "void (__interwork __task *)(void)" is incompatible with parameter of type "void (*)(void)" D:\ZSE\main.c 762 ” Without __task everything works fine. Any idea how to solve this one? Thanks, Arne

  • Timer Routines

    Arne - - embOS related

    Post

    Hello, I got a couple of questions regarding software-timers: Lets assume this code: C Source Code (2 lines) Now after 200 OS-Ticks they shall be called at the same time. Now what happens? Is TimerRoutine1 called and as soon as it is finished the OS-Scheduler calls TimerRoutine2? Or is TimerRoutine2 delayed until the next OS-Tick (which would be 201)? The manual says the Softwaretimers use the C-Stack. What does this actually mean? Do they use the stack of the thread they just interrupted or the…

  • OS_Q_Create Documentation

    Arne - - embOS related

    Post

    Hello, I got a question regarding the documentation for OS_Q_Create (manual 3.82f). For the parameter pData it says: "Pointer to a memory area used as data buffer for the queue." But the example is as this: C Source Code (5 lines) The '&' in front of '_acMemQBuffer' (line 5) puzzles me: that would be a pointer to a pointer to a memory area. Or am I wrong? Thanx, Arne