src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/include/bell.h
blob: 35a618e20a8ff98c941e48eafd47cd90348def3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <freertos/FreeRTOS.h>
#include <freertos/timers.h>
#include <hap.h>

bool is_bell_ringing(int val);

void IRAM_ATTR intercom_bell_isr(void *arg);

void intercom_bell_ring();

void intercom_bell_timer_cb(TimerHandle_t timer);

hap_serv_t *intercom_bell_init(uint32_t key_gpio_pin);