X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_sipo.h;h=ad02c57e0ed75cd139b17d9c112fce17405fd4bc;hb=6a7f7153724fd0f4392ba94715e44ed643e661fb;hp=0ac56ba76adaa3f4bce34d11928cc56856f845e7;hpb=083645700424a51aa1a8d8cc24bcdae45e627f18;p=bertos.git diff --git a/bertos/hw/hw_sipo.h b/bertos/hw/hw_sipo.h index 0ac56ba7..ad02c57e 100644 --- a/bertos/hw/hw_sipo.h +++ b/bertos/hw/hw_sipo.h @@ -26,8 +26,8 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2003, 2004, 2006, 2008 Develer S.r.l. (http://www.develer.com/) - * Copyright 2000 Bernardo Innocenti + * Copyright 2003, 2004, 2006, 2008, 2009 Develer S.r.l. (http://www.develer.com/) + * Copyright 2000 Bernie Innocenti * All Rights Reserved. * --> * @@ -36,6 +36,7 @@ * * \version $Id$ * + * \author Andrea Grandi * \author Daniele Basile */ @@ -46,11 +47,11 @@ /** - * Define the procedure to set one bit low/hight to - * serial input in sipo device. + * Define the macros needed to set the serial input bit of SIPO device + * low or high. */ -#define SIPO_SI_HIGH()/* Implement me! */ -#define SIPO_SI_LOW() /* Implement me! */ +#define SIPO_SI_HIGH() do { /* Implement me! */ } while (0) +#define SIPO_SI_LOW() do { /* Implement me! */ } while (0) /** * Drive pin to load the bit, presented in serial-in pin, @@ -70,7 +71,7 @@ /** - * Do anything that needed to init sipo pins. + * Do everything needed in order to init the SIPO pins. */ #define SIPO_INIT_PIN() \ do { \