[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Nice to have: XCK Definition
From: |
Oleksandr Redchuk |
Subject: |
Re: [avr-libc-dev] Nice to have: XCK Definition |
Date: |
Tue, 10 Mar 2009 11:20:44 +0200 |
2009/3/9 Frédéric Nadeau <address@hidden>:
> My suggestion is adding the following:
>
> #define XCK_DDR DDRD
> #define XCK_DDRx DDD4
May be better
#define XCK D,4
or even
#define XCK D,4,H
with dummy High active level symbol? This 'H' not needed for XCK or
MOSI or OC1A but needed for uniformity with user-defined pins like
#define LED_ERROR B,0,L
#define PUMP_RELAY B,1,H
That sort of definitions usable with macros like in attached header file.
I use this macro from about 1999-2000.
--
wbr,
ReAl
pin_macros.h
Description: Binary data
- [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/09
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/09
- Re: [avr-libc-dev] Nice to have: XCK Definition,
Oleksandr Redchuk <=
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/10
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/10
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/10
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/10
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/10
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/10
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/11
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/11
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/11
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/12