Skip to content

Conversation

P-R-O-C-H-Y
Copy link
Member

Summary

This PR is refactoring of SigmaDelta HAL in order to use IDF instead of current Register manipulation approach.

Impact

Change in API:

  • uint32_t sigmaDeltaSetup(uint8_t channel, uint32_t freq);
    changed to -->
    uint32_t sigmaDeltaSetup(uint8_t pin, uint8_t channel, uint32_t freq);

  • void sigmaDeltaAttachPin(uint8_t pin); removed, no longer needed. Pin is attached in sigmaDeltaSetup()

Related links

Complete refactoring + duty fix

removed ESP_ERROR_CHECK

include "esp_err.h" no more needed

sigmaDelta refactoring to ESP-IDF API
@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Dec 22, 2021
@me-no-dev me-no-dev merged commit caef400 into espressif:master Dec 22, 2021
@VojtechBartoska VojtechBartoska linked an issue Dec 22, 2021 that may be closed by this pull request
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.

Change SigmaDelta to use ESP-IDF API (E)
2 participants