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

Init

void GpioInit(void)
{ // Set to inputs FIO0DIR = \ FIO1DIR = \ FIO2DIR = \ FIO3DIR = \ FIO4DIR = 0;

// clear mask registers FIO0MASK =\ FIO1MASK =\ FIO2MASK =\ FIO3MASK =\ FIO4MASK = 0;

// Reset all GPIO pins to default primary function PINSEL0 =\ PINSEL1 =\ PINSEL2 =\ PINSEL3 =\ PINSEL4 =\ PINSEL7 =\ PINSEL8 =\ PINSEL9 =\ PINSEL10 = 0;
}

How can I change PINSEL1 with this code?

Parents
  • And a lot of people on the forum are supposedly functional adults, and yet at the same time are totally clueless, or at venues of higher learning which seemed to have missed the bus on logical thinking, and problem solving.

    So telling someone the station is a mile, or so, down the street is the appropriate answer, not trying to engage in intellectual combat, or argue about time-table or carriage appointment and paint schemes.

Reply
  • And a lot of people on the forum are supposedly functional adults, and yet at the same time are totally clueless, or at venues of higher learning which seemed to have missed the bus on logical thinking, and problem solving.

    So telling someone the station is a mile, or so, down the street is the appropriate answer, not trying to engage in intellectual combat, or argue about time-table or carriage appointment and paint schemes.

Children
No data