First,
I am working with arduino's serial port and I would like to read the datas, in my laptop, that I will receive from Serial port 0 and Serial port 1. Is it possible (to read two serial ports in my latpot)?
I would recommend to inspire your self from the multi-serial mega example to copy the data coming from the two port to a third port.
http://arduino.cc/en/Tutorial/MultiSerialMega
So let's say stuff passe thrue your Arduino from serial
0<=¤=>1
Get your self a serial2usb device hook it on serial 2 and send a copy of every thing that come from serial 0 or 1 to serial 2.
2
Î
0<=¤=>1.
This way you can monitor every thing with eaze.
Also,
and the other thing: I have very trouble because the specifications on internet says that Arduino Due has 103 I/0 interrupts. All pins in this board can be able like interruptions?
Yes, each and every pin connected to a bit port on the Due can trigger an interrupt.
And also,
For example, if I need use a serial interrupt (Port0-->RX0) must I define this function? --> attachInterrupt(0, Serial0Reception, mode) where mode (that can be 0, 1, 2 or 3) in this case is irrelevant? (Serial0Reception is the name of my serial interrupt).
The hardware serial port take care of all the interupt that your serial port need. By default you can assume that the interrupt on every Rx(x) is enabled and in function as soon that you initialize the serial port. This is how they make UART such an independant device.
So nop, you don't need to configure any interrupt for the serial port. In fact, if you do, you might cause some conflict with the incoming data detection procedure.
The "serialEvent(x)" event function is the event linked to the Rx(x) interrupt pin, and i believe it's actually called as soon that incoming data is in the buffer AND the current loop() procedure end. This is the interrupt event call linked to those pins when they act as serial port.
Finaly,
The first "0" is the Ardino's Pin 0 (Rx0)?
If I need specify other interrupt (for example, Pin RX1 or the interrupt of the pin 51) I need specify in this function the number of this pin?
Yes, you must use the pin number, unlike the prior version of Arduino.
I hope this make thing more clear.