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

GPIO

can any one explain the difference between REGULAR PORT and FAST PORT in LPC2366.Thanks in advance.

Parents
  • Actually, GPIO on GPIO port 0 and 1 are always enabled. The GPIOM bit of the SCS register just specifies that the new high-speed mode of accessing them should be used for the first two ports, i.e. that the FIO0x and FIO1x registers should be used.

    Without setting the GPIO0M bit, the default is that the IO0x and IO1x registers will control the ports.

    It is only the first two ports that are controlled by the GPIOM bit - all the other ports are always using the high-speed mode of access.

Reply
  • Actually, GPIO on GPIO port 0 and 1 are always enabled. The GPIOM bit of the SCS register just specifies that the new high-speed mode of accessing them should be used for the first two ports, i.e. that the FIO0x and FIO1x registers should be used.

    Without setting the GPIO0M bit, the default is that the IO0x and IO1x registers will control the ports.

    It is only the first two ports that are controlled by the GPIOM bit - all the other ports are always using the high-speed mode of access.

Children