typedef struct PortObj{
/* port status register, contains information on whether */
/* port is opened, configured, etc. */
Int status;//端口状态寄存器 包含端口是否打开,端口配置等等信息
/* vp base address for all register access */
Int base;//视频口所有寄存器入口地址
/* two channel objects for channel A & B. */
/* This is only for capture operation */
_VPORT_ChanObj chanObj[2];//通道对象各种参数
} PortObj;
_VPORT_ChanObj* chan = (_VPORT_ChanObj* )chanp;//通道数据结构体指针传递
PortObj* port = &portObjs[chan->portNum];
请问各位 &portObjs[chan->portNum]取的是哪部分的地址???整个人都晕了!!!!!!!!!!!
|