Searched refs:buzzer (Results 1 – 9 of 9) sorted by relevance
100 static int start_buzzer(struct ipso_buzzer_data *buzzer) in start_buzzer() argument103 struct lwm2m_obj_path path = LWM2M_OBJ(IPSO_OBJECT_BUZZER_ID, buzzer->obj_inst_id, in start_buzzer()107 if (buzzer->active) { in start_buzzer()112 temp = (uint32_t)(buzzer->min_off_time * MSEC_PER_SEC); in start_buzzer()113 if (k_uptime_get() < buzzer->trigger_offset + temp) { in start_buzzer()119 buzzer->trigger_offset = k_uptime_get(); in start_buzzer()122 temp = (uint32_t)(buzzer->delay_duration * MSEC_PER_SEC); in start_buzzer()123 k_work_reschedule(&buzzer->buzzer_work, K_MSEC(temp)); in start_buzzer()128 static int stop_buzzer(struct ipso_buzzer_data *buzzer, bool cancel) in stop_buzzer() argument130 struct lwm2m_obj_path path = LWM2M_OBJ(IPSO_OBJECT_BUZZER_ID, buzzer->obj_inst_id, in stop_buzzer()[all …]
191 This Object is used to actuate an audible alarm such as a buzzer,
9 This sample demonstrates how to use a piezo buzzer connected15 A separate piezo buzzer connected to the board. One example is the MI:Power16 board that has a piezo buzzer in addition to a coin-cell battery. Resellers of33 This sample outputs sounds through a connected piezo buzzer based on
45 pwm-buzzer = &pwm0;91 /* buzzer */
22 If the board has a piezo buzzer connected to pin 0, this will be used to
196 struct osdp_cmd_buzzer buzzer; member
391 cmd.buzzer.reader = buf[pos++]; in pd_decode_command()392 cmd.buzzer.control_code = buf[pos++]; in pd_decode_command()393 cmd.buzzer.on_count = buf[pos++]; in pd_decode_command()394 cmd.buzzer.off_count = buf[pos++]; in pd_decode_command()395 cmd.buzzer.rep_count = buf[pos++]; in pd_decode_command()
208 buf[len++] = cmd->buzzer.reader; in cp_build_command()209 buf[len++] = cmd->buzzer.control_code; in cp_build_command()210 buf[len++] = cmd->buzzer.on_count; in cp_build_command()211 buf[len++] = cmd->buzzer.off_count; in cp_build_command()212 buf[len++] = cmd->buzzer.rep_count; in cp_build_command()
147 * PB8 is connected to a watchdog buzzer, It needs to be pulsed every 10 seconds to keep the buzzer …