very fast read-writes to port / pin

Yes, use an external logic circuit for this.