PORT_BASE
#define PORT_BASE(idx) (PORT0_BASE + (idx) * PORT_STRIDE)
#define PORT_BASE(hc) ((hc) * PORT_SIZE + PORT_OFFSET)