mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-15 16:52:38 +03:00
22e1ecb642
* Hal lfrfid: add read timer pulse and period config fns * New debug application for lfrfid subsystem * New lfrfid: app, fix naming * App lfrfid: assets * Container view module * App ibutton: remove unused header * App lfrfid scenes * App notification, add yield to blocking operations, add speaker volume control * App lfrfid: reading key scene * Assets: placeholder icon * App lfrfid: reworked container view module * App lfrfid: new scenes * App lfrfid: write scene * App lfrfid: write hid * App lfrfid: emulate scene * App lfrfid: save name scene * App lfrfid: add missing file
99 lines
3.4 KiB
C
99 lines
3.4 KiB
C
#pragma once
|
|
#include "notification.h"
|
|
#include "notification-messages-notes.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*********************************** Messages **********************************/
|
|
|
|
// Display
|
|
extern const NotificationMessage message_display_on;
|
|
extern const NotificationMessage message_display_off;
|
|
|
|
// Led ON
|
|
extern const NotificationMessage message_red_255;
|
|
extern const NotificationMessage message_green_255;
|
|
extern const NotificationMessage message_blue_255;
|
|
|
|
// Led OFF
|
|
extern const NotificationMessage message_red_0;
|
|
extern const NotificationMessage message_green_0;
|
|
extern const NotificationMessage message_blue_0;
|
|
|
|
// Delay
|
|
extern const NotificationMessage message_delay_1;
|
|
extern const NotificationMessage message_delay_10;
|
|
extern const NotificationMessage message_delay_25;
|
|
extern const NotificationMessage message_delay_50;
|
|
extern const NotificationMessage message_delay_100;
|
|
extern const NotificationMessage message_delay_250;
|
|
extern const NotificationMessage message_delay_500;
|
|
extern const NotificationMessage message_delay_1000;
|
|
|
|
// Sound
|
|
extern const NotificationMessage message_sound_off;
|
|
|
|
// Vibro
|
|
extern const NotificationMessage message_vibro_on;
|
|
extern const NotificationMessage message_vibro_off;
|
|
|
|
// Reset
|
|
extern const NotificationMessage message_do_not_reset;
|
|
|
|
/****************************** Message sequences ******************************/
|
|
|
|
// Reset
|
|
extern const NotificationSequence sequence_reset_red;
|
|
extern const NotificationSequence sequence_reset_green;
|
|
extern const NotificationSequence sequence_reset_blue;
|
|
extern const NotificationSequence sequence_reset_rgb;
|
|
extern const NotificationSequence sequence_reset_display;
|
|
extern const NotificationSequence sequence_reset_sound;
|
|
extern const NotificationSequence sequence_reset_vibro;
|
|
|
|
// Vibro
|
|
extern const NotificationSequence sequence_set_vibro_on;
|
|
|
|
// Display
|
|
extern const NotificationSequence sequence_display_on;
|
|
extern const NotificationSequence sequence_display_off;
|
|
|
|
// Charging
|
|
extern const NotificationSequence sequence_charging;
|
|
extern const NotificationSequence sequence_charged;
|
|
extern const NotificationSequence sequence_not_charging;
|
|
|
|
// Light up
|
|
extern const NotificationSequence sequence_set_only_red_255;
|
|
extern const NotificationSequence sequence_set_only_green_255;
|
|
extern const NotificationSequence sequence_set_only_blue_255;
|
|
extern const NotificationSequence sequence_set_red_255;
|
|
extern const NotificationSequence sequence_set_green_255;
|
|
extern const NotificationSequence sequence_set_blue_255;
|
|
|
|
// Blink
|
|
extern const NotificationSequence sequence_blink_blue_10;
|
|
extern const NotificationSequence sequence_blink_red_10;
|
|
extern const NotificationSequence sequence_blink_green_10;
|
|
extern const NotificationSequence sequence_blink_yellow_10;
|
|
extern const NotificationSequence sequence_blink_cyan_10;
|
|
|
|
extern const NotificationSequence sequence_blink_red_100;
|
|
extern const NotificationSequence sequence_blink_green_100;
|
|
extern const NotificationSequence sequence_blink_blue_100;
|
|
extern const NotificationSequence sequence_blink_yellow_100;
|
|
extern const NotificationSequence sequence_blink_cyan_100;
|
|
extern const NotificationSequence sequence_blink_magenta_100;
|
|
extern const NotificationSequence sequence_blink_white_100;
|
|
|
|
// General
|
|
extern const NotificationSequence sequence_double_vibro;
|
|
extern const NotificationSequence sequence_success;
|
|
extern const NotificationSequence sequence_error;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|