2003-08-08 05:38 AM
2011-05-17 02:55 AM
Hi,
i want to know the address of port B . Can i use the PB as GPIO pins? Waiting for reply Purvi2011-05-17 02:55 AM
hi,
yes you can access to port B in GPIO mode. Configure it in PSDSoft and you have to set correct value in direction and drive registers. You can write and read in port B by the DATA_IN or DATA_OUT register but you can't access by bit totof2011-05-17 02:55 AM
The address for DATAIN_B is: PSD_REG_BASE + 02
DATAOUT_B: PSD_REG_BASE + 05 DIRECTION_B: PSD_REG_BASE + 07 DRIVE_B: PSD_REG_BASE + 09 CONTROL_B: PSD_REG_BASE + 03