X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fnet%2Fafsk.h;h=dc2cf73a81dcf69ec8669c7c9499f6dcd99ebade;hb=5f5b4f3e5b6e167c8bd0580b505b7c8a2e5ee481;hp=2680aaf8a49d94006872b6423d161a704c6327a2;hpb=e1aa79e276934cbaceeb77a85b945074e3c1bbc8;p=bertos.git diff --git a/bertos/net/afsk.h b/bertos/net/afsk.h index 2680aaf8..dc2cf73a 100644 --- a/bertos/net/afsk.h +++ b/bertos/net/afsk.h @@ -34,10 +34,11 @@ * * \version $Id$ * \author Francesco Sacchi - * + * * $WIZ$ module_name = "afsk" * $WIZ$ module_configuration = "bertos/cfg/cfg_afsk.h" - * $WIZ$ module_depends = "timer", "fifo", "kfile" + * $WIZ$ module_depends = "timer", "kfile" + * $WIZ$ module_hw = "bertos/hw/hw_afsk.h" */ #ifndef DRV_AFSK_H @@ -62,8 +63,17 @@ INLINE Afsk *AFSK_CAST(KFile *fd) void afsk_init(Afsk *af); -#define HDLC_FLAG 0x7E -#define HDLC_RESET 0x7F -#define AFSK_ESC 0x1B +/** + * \name afsk filter type + * $WIZ$ afsk_filter_list = "AFSK_BUTTERWORTH", "AFSK_CHEBYSHEV" + * \{ + */ +#define AFSK_BUTTERWORTH 0 +#define AFSK_CHEBYSHEV 1 +/* \} */ + +int afsk_testSetup(void); +int afsk_testRun(void); +int afsk_testTearDown(void); #endif