Sending sms 4 times a day, tested version, with "no signal" protection
This commit is contained in:
10
platform.h
10
platform.h
@@ -8,16 +8,18 @@
|
||||
#include <stdint.h>
|
||||
#include <avr/pgmspace.h>
|
||||
|
||||
extern volatile uint8_t timeout_err;
|
||||
|
||||
#define WDR() asm volatile ("wdr")
|
||||
|
||||
/**
|
||||
* Инициализация модуля
|
||||
*/
|
||||
void platform_init();
|
||||
|
||||
/**
|
||||
* Переводит камень в режим ожидания, выход из ожидания по прерыванию
|
||||
*/
|
||||
void platform_wait_for_interrupt();
|
||||
void platform_wdt_start();
|
||||
|
||||
void platform_wdt_stop();
|
||||
|
||||
void uart_init();
|
||||
void uart_deinit();
|
||||
|
||||
Reference in New Issue
Block a user