|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
How do I get descriptive names to pins on each of the ports?
You can use the sbit data type. For example:
sbit foo = P1 ^ 2;
gives the name 'foo' to P1 bit 2.
Article last edited on: 2006-10-16 11:56:59
Did you find this article helpful? Yes No
How can we improve this article?