From 4a7c7dafcaff7959583eb3d85bdc5b5c8b983d7e Mon Sep 17 00:00:00 2001 From: asterix Date: Mon, 26 May 2008 18:47:55 +0000 Subject: [PATCH] Add stepper timer interface module for arm family. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1380 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/drv/stepper_arm.c | 48 ++++++++++++++++++++++++++++++++ bertos/cpu/arm/drv/stepper_arm.h | 48 ++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 bertos/cpu/arm/drv/stepper_arm.c create mode 100644 bertos/cpu/arm/drv/stepper_arm.h diff --git a/bertos/cpu/arm/drv/stepper_arm.c b/bertos/cpu/arm/drv/stepper_arm.c new file mode 100644 index 00000000..f39c5a22 --- /dev/null +++ b/bertos/cpu/arm/drv/stepper_arm.c @@ -0,0 +1,48 @@ +/** + * \file + * + * + * \brief Low-level stepper timer module for ARM (inplementation). + * + * \version $Id$ + * + * \author Daniele Basile + * + */ + +#include + +#if CPU_ARM_AT91 + #include "stepper_at91.c" +/*#elif Add other ARM families here */ +#else + #error Unknown CPU +#endif diff --git a/bertos/cpu/arm/drv/stepper_arm.h b/bertos/cpu/arm/drv/stepper_arm.h new file mode 100644 index 00000000..544eb855 --- /dev/null +++ b/bertos/cpu/arm/drv/stepper_arm.h @@ -0,0 +1,48 @@ +/** + * \file + * + * + * \brief Low-level stepper timer module for ARM (inplementation). + * + * \version $Id$ + * + * \author Daniele Basile + * + */ + +#include + +#if CPU_ARM_AT91 + #include "stepper_at91.h" +/*#elif Add other ARM families here */ +#else + #error Unknown CPU +#endif -- 2.25.1