Opened 8 months ago

Last modified 6 days ago

#30 accepted task

ATMEGA328/328P: Toggle PORTx pins

Reported by: dsl Owned by: dsl
Priority: minor Milestone: Work in Progress
Component: avr Keywords: planned-in-0.2
Cc:

Description (last modified by dsl)

Writing a logic one to PINxn toggles the value of PORTxn, independent on the value of DDRxn.
Note that the SBI instruction can be used to toggle one single bit in a port.

See 14.2.2 Toggling the Pin part of the datasheet for details.

Change History (7)

comment:1 Changed 8 months ago by dsl

Summary: ATMEGA328P: Toggle PORTx pinsATMEGA328/328P: Toggle PORTx pins

comment:2 Changed 8 months ago by dsl

Description: modified (diff)

comment:3 Changed 7 months ago by dsl

Milestone: MCUSim-0.2MCUSim 0.2

Milestone renamed

comment:4 Changed 7 months ago by dsl

Milestone: MCUSim 0.2mcusim 0.2

Milestone renamed

comment:5 Changed 5 months ago by dsl

Milestone: mcusim 0.2MCUSim-0.2

Milestone renamed

comment:6 Changed 6 days ago by dsl

Owner: changed from Pawel to dsl
Status: assignedaccepted

comment:7 Changed 6 days ago by dsl

Cc: Pawel removed
Milestone: MCUSim-0.2Work in Progress
Note: See TracTickets for help on using tickets.