This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Still confused

I understood why PINSEL0 is used for P0_15 & PINSEL1 is used for P0_16 .

I tend to get confused when i see different codes being used for different Application notes.

PINSEL0 |= 0x00050000; // Select UART1 RXD/TXD

How TXD/RXD is being selected through PINSEL0 inspite it is clear that RXD OF Uart1 can be slected only by PINSEL1 ?

Parents
  • "3) Programming is all about details."

    details are definitely important, to doing anything. and the advice about reading the datasheet is right on.

    however, for a large project, my experience has been that structuring out the whole project and defining / documenting individual tasks dynamically is vital to the timely completion of the project. This is particularly true in a corporate environment where you can borrow, or you have to borrow, from existing code written in a similar fashion. actual programming is usually much simpler after that.

    once i have the project diced up in a way that it is manageable even for a junior programmers, or have a process where their feedback can be incorporated at a higher level, I can be fairly confident that the project can be done as scheduled.

    heavy investment in structuring and defining the project upfront has always paid off for me.

Reply
  • "3) Programming is all about details."

    details are definitely important, to doing anything. and the advice about reading the datasheet is right on.

    however, for a large project, my experience has been that structuring out the whole project and defining / documenting individual tasks dynamically is vital to the timely completion of the project. This is particularly true in a corporate environment where you can borrow, or you have to borrow, from existing code written in a similar fashion. actual programming is usually much simpler after that.

    once i have the project diced up in a way that it is manageable even for a junior programmers, or have a process where their feedback can be incorporated at a higher level, I can be fairly confident that the project can be done as scheduled.

    heavy investment in structuring and defining the project upfront has always paid off for me.

Children
No data