How will a 12-Bit ADC store the value?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello. I am using the delta sigma ADC in PSOC5. I am using a 12-bit resolution, and calls ADC_DelSig_Read16() when i want to recieve a value from the ADC. 

   

My problem is that i am unaware of how the 12-bit value is stored in a 16-bit variable.

   

Lets say that i got a value of 0xABC from my ADC. How will it be stored?

   

0x0ABC

   

0xABC0

   

Or in a whole different way?

0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You will get a 0x0ABC when the result is unsigned.

   

 

   

Bob

0 Likes