Skip to content

Fix the mask of CHAN[9:0] in register 0x03#5

Open
wh201906 wants to merge 1 commit intosparkfun:masterfrom
wh201906:Fix_CHAN_mask
Open

Fix the mask of CHAN[9:0] in register 0x03#5
wh201906 wants to merge 1 commit intosparkfun:masterfrom
wh201906:Fix_CHAN_mask

Conversation

@wh201906
Copy link

The CHAN[9:0] has 10 bits, so the inverted mask should be 0xFC00 rather than 0xFE00

The CHAN[9:0] has 10 bits, so the inverted mask should be 0xFC00 rather than 0xFE00
@wh201906
Copy link
Author

Here is the description in the datasheet
1.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant