• P-R-O-C-H-Y's avatar
    Implement SigmaDelta based on ESP-IDF API (#6053) · caef4006
    P-R-O-C-H-Y authored
    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()
    caef4006
esp32-hal-sigmadelta.h 1.05 KB