Working in Embedded field. For more queries and enhance skillsets, I am using this platform.

Re: casting to union type vs struct type

Reply posted 2 weeks ago (04/01/2021)
Yes, as union is concerned, it also behave like as you told. When var cast to union type it will type punning it to as union member. So, compiler assumes all union...

Re: casting to union type vs struct type

Reply posted 2 weeks ago (03/31/2021)
Real-time analogy is good. Thanks, its understanding.

Re: casting to union type vs struct type

Reply posted 2 weeks ago (03/31/2021)
Since, struct works with multiple objects at a time. Compiler cannot know which data type/ object to cast to it. is it correct?But, union works with single object...

Re: casting to union type vs struct type

Reply posted 2 weeks ago (03/31/2021)
Error occurred when compiling was..error: conversion to non-scalar type requestedCode Snippet:#include <stdio.h>struct student{int age;char gender;}std;void...

casting to union type vs struct type

New thread started 2 weeks ago
Why does casting a variable to union type works, but not with struct and array type in c language?

Re: Cache memory vs volatile

Reply posted 3 weeks ago (03/20/2021)
When I started exploring cache of variables without volatile, I found a sequence of reading i/p register.Int regRead = P1IN; //reading input port using msp430 processor.1....

Cache memory vs volatile

New thread started 3 weeks ago
Can you explain how does volatile prevents the compiler optimization on caching of variables? What does MMU do in this context?

Re: Skillsets from 8-bit, 16-bit, 32-bit

Reply posted 2 months ago (02/02/2021)
How about UML class diagrams and sequence diagrams? Its a needed one in making projects.

Re: Skillsets from 8-bit, 16-bit, 32-bit

Reply posted 2 months ago (01/26/2021)
Yes. In addition to above question, if we have assigned to develope a Verilog code for FPGA/ Assembly coding for DSP processors, how much it would take to get into...

Re: Skillsets from 8-bit, 16-bit, 32-bit

Reply posted 3 months ago (12/29/2020)
Hi everyone, thanks for the valuable information. I am getting grip on these guidance and try to implement these as well in future days. I am working on bare metal...

Skillsets from 8-bit, 16-bit, 32-bit

New thread started 4 months ago
Does embedded developers asks for competency with 8/ 16/ 32-bit processors, are anything specific?

Use this form to contact sadash

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address