Arduino Due Inputs and Outputs

Greetings... Hi I am new to arduino due. Please let me know that all pins in due (including Analog, I2C, SPI, CAN, UART, DAC) can be used as Digital Pins? Thanks in advance.

All pins can be used as digital pins.

Note that you can get PB28, PB29, PB30 and PB31 from the JTAG pin header, or PB28 and PB31 from the DEBUG (SWD) pin header.

See the DUE pin mapping for the max current you can sink from each pin: https://www.arduino.cc/en/Hacking/PinMappingSAM3X

For digital input pins, you have an hardware debounce feature if a pull down resistor do not suffice.

Note that the total max current you can sink from the board is 800 mA if powered by a battery pack.