S M AR C M o d u l e μ C O M - B TC.1 Digital I/O Sample Program************************************************************************************BASE: 0xFED0C000hPin 0: BASE+4D0h+08hPin 1: BASE +4F0h+08hPin 2: BASE +530h+08hPin 3: BASE +4E0h+08hPin 5: BASE +0A0h+08hPin 6: BASE +0B0h+08hPin 7: BASE +510h+08hPin 8: BASE +500h+08hPin 9: BASE +520h+08hPin 10: BASE +050h+08hPin 11: BASE +030h+08hSAMPLE CODE//For Pin0#define PAD_VAL_REG 0x8DWORD dwBaseAddr = 0xFED0C4D0; // Depend on which pinHRESULT DioPinGetDirection( BOOL* pbInput ){ //bit = 1 if input, bit = 0 if outputAppendix D Electrical Specifications for I/O Ports C-2