Qualcomm Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
1
of 1 vote

It all depends on how the real hardware is connected to the device driver module (like I2C bus etc). If the device driver can access the hardware register (like a I/O mapped memory) we have to type cast the memory of the register address to the pointer of the data type it stores then write to that pointer address. Ex:
*(uint16 *)0x1234 = (uint16) data;

- Cheers April 25, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

volatile keyword is missed on address

- SIVA August 31, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

"uncached" has been missed too.

- Ian F. April 14, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

i think by i2c_transfer() if the device is connected by i2c, else outl/b() if its i/o mapped memory

- ritesh ghosh May 17, 2013 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More