in ARM , how can i change the values at the output pins? i.e.,in my program, i cant use the IOSET and IOCLR commands to change the values at the output pins bcoz the output in my program should change depending on the runtime variables(about which i cant have a prior knowledge)
ex.: in AVR compilers, i can use......
PORTA.0=X (where X is a run time variable) {for manipulating the 0th pin of portA)
how can i do similarly in ARM conrrollers?? can i use PORT1.0=X
is there any such possibility??
That depends on what processor you have.
The NXP LPC23xx series for example has a mask register where you can define which bits of the port that should be accessible and which bits should be masked away, i.e. write-protected. Then you can directly assign a 32-bit variable to the port and set/clear the state of 0 to 32 bit the port pins in a single instruction.