This commit is contained in:
2025-09-10 11:27:59 +03:00
parent 3be41702d5
commit ca706b9afa
5 changed files with 284 additions and 48 deletions

View File

@@ -23,8 +23,8 @@ extern "C"
typedef enum
{
ZH_50HZ = 1,
ZH_60HZ,
ZH_400HZ
ZH_60HZ = 2,
ZH_400HZ = 3
} zh_avr_ac_dimmer_frequency_t;
typedef struct // Structure for initial initialization of AC dimmer.
@@ -72,6 +72,11 @@ extern "C"
*/
avr_err_t zh_avr_ac_dimmer_set(uint8_t value);
/**
* @brief AC dimmer ISR handler.
*/
void zh_avr_ac_dimmer_isr_handler(void);
#ifdef __cplusplus
}
#endif