X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=app%2Fat91sam7s%2Fhw%2Fhw_ser.h;h=7b98f223bda7380b41589d30e5c1a5c50ef56e29;hb=70ad497f49e2c9283a0abf0866ef21d2017bf55f;hp=cccbed13f7d3405bf4f23b8b8b33e53c9ca95ebd;hpb=2f58ecf977cf1e0cf8c86382d61e5148a7174051;p=bertos.git diff --git a/app/at91sam7s/hw/hw_ser.h b/app/at91sam7s/hw/hw_ser.h index cccbed13..7b98f223 100644 --- a/app/at91sam7s/hw/hw_ser.h +++ b/app/at91sam7s/hw/hw_ser.h @@ -38,14 +38,3 @@ */ -#define SER_STROBE_ON do {PIOA_SODR = BV(6);} while(0) -#define SER_STROBE_OFF do {PIOA_CODR = BV(6);} while(0) -#define SER_STROBE_INIT do {\ - /* Set PA6 connected to PIOA */\ - PIOA_PER = BV(6); \ - /* Set PA6 as output */ \ - PIOA_OER = BV(6); \ - /* Disable multidrive on all pins */ \ - PIOA_MDDR = BV(6); \ -} while(0) -