Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #91808

Re: Reading the Riot Act To ARM's developers

From Phil Carmody <thefatphil_demunged@yahoo.co.uk>
Newsgroups comp.os.linux.advocacy, comp.os.linux.embedded
Subject Re: Reading the Riot Act To ARM's developers
Date 2012-02-25 10:18 +0200
Organization A noiseless patient Spider
Message-ID <87fwdzpbqe.fsf@bazspaz.fatphil.org> (permalink)
References <WGiYq.100467$WX2.28685@newsfe28.ams2> <4iah09-1p2.ln1@spankydtr.localhost.net> <PYqZq.3558$FY5.2955@newsfe10.ams2>

Cross-posted to 2 groups.

Show all headers | View raw


7 <email_at_www_at_enemygadgets_dot_com@enemygadgets.com> writes:
> The way I do it is independent of all these issues and much more verbose.
> 
> 
> #define INT_XMA (1 << 4)
> #define ENABLE_RS232  SYSCON->INT |= INT_XMA

Ewwww! Don't do that.

> The problem I am having is what does that '4' mean. Is it 4 or 14 or 
> something else? I need a datasheet. Thats just crap programming.
> 
> What I want to be able to do is
> 
> #define ENABLED 1
> #define ENABLE_RS232_INTERRUPT  SYSCON.INT.INT_XMA = ENABLED

Ewww! Don't do that either.

NACKed.

Phil
-- 
> I'd argue that there is much evidence for the existence of a God.
Pics or it didn't happen.
-- Tom (/. uid 822)

Back to comp.os.linux.advocacy | Previous | NextNext in thread | Find similar


Thread

Re: Reading the Riot Act To ARM's developers Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2012-02-25 10:18 +0200
  Re: Reading the Riot Act To ARM's developers 7 <email_at_www_at_enemygadgets_dot_com@enemygadgets.com> - 2012-02-25 19:34 +0000
    Re: Reading the Riot Act To ARM's developers Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2012-02-27 15:52 +0200

csiph-web