Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Bit addressing

2006-03-01 by Saravanakumar S

Hi,
        The same question i asked 2months before .Also, i asked last week 
to this forum.But all the pupils are busy with Jaysooriah question.
They didnt have much time to answer this question.Once up on a time that 
pupil also,like this only.Now a days they didnt have time to share his 
ideas.
Until you perform the bit operation with IOSET & IOCLR.





Hi,
A stupid question...
I am used C51 and like bit addressing in 'C', but in LPC its not possible.

1. Is there any way I can read or write a port bit by simply writing /
reading 1/0 .

Example for writing

Some_bit_P0_15=1


or reading
if (Some_bit_P0_15) {}



Best Regards,

Mukund Deshmukh.
Beta Computronics Pvt Ltd,
10/1, IT Park, Parsodi,
Nagpur-440022
Cell - 9422113746



 
Yahoo! Groups Links



 






[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.