Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add 24-bit mode to I2S#7835

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
earlephilhower merged 2 commits intoesp8266:masterfromearlephilhower:i2s24b
Jan 23, 2021
Merged

Conversation

@earlephilhower
Copy link
Collaborator

@earlephilhowerearlephilhower commentedJan 23, 2021
edited
Loading

Add basic 24 bit mode to the I2S API with a i2s_set_bits() call.
By default 16b mode is still used, but if i2s_set_bits(24) is run
before i2s_begin() then the HW will drive 24-bits of data. This
data must be left-aligned (i.e. bits 31..8) in 4-byte samples.

Fixes#5244 (the HW doesn't support 8 or 32 bits, only 16 or 24).

Add basic 24 bit mode to the I2S API with a i2s_set_bits() call.By default 16b mode is still used, but if i2s_set_bits(24) is runbefore i2s_begin() then the HW will drive 24-bits of data.  Thisdata must be left-aligned (i.e. bits 31..8) in 4-byte samples.
Copy link
Collaborator

@d-a-vd-a-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

@earlephilhowerearlephilhower merged commite0cfb5a intoesp8266:masterJan 23, 2021
@earlephilhowerearlephilhower deleted the i2s24b branchJanuary 23, 2021 22:40
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@d-a-vd-a-vd-a-v approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

supporting of different bits per sample

2 participants

@earlephilhower@d-a-v

[8]ページ先頭

©2009-2025 Movatter.jp