-
启动的时候用一个较大的阈值(3.0v),掉电的时候用一个较小的阈值(1.8V).
可以尝试下。
-
以前用COSMIC,没用到的函数也会占用FLASH。
不知IAR如何。
-
我的BSP休眠唤醒前后关于usb所做的工作:
休眠前:设置usb为suspend,拉低usb从口DP,停止usb时钟
唤醒后:恢复上述工作
好像关于休眠唤醒所作的工作就这么多啊,不知道为什么唤醒后一插入usb就死机
-
这个要根据自己的板子的电路图来判断
-
进入HardFault时,堆栈中有产生问题的那条指令的后一条指令所在的地址,这是由CPU保存的返回地址,知道了后一条指令在哪里,就找到了产生问题的那条指令,找到了产生问题的那条指令,就可以知道对应的那一行C程序......,这样倒查就可以找出问题的出处了。
-
自己在顶下
-
GetVersionEX
-
支持!
上官一出惊天地,
金虹一现震江湖。
-
买来看看
-
模拟器上没有串口吧?
-
创建窗体的时候实现
-
老大,分不多呀!帮个忙色!
-
如楼上。
如IP地址为192.168.1.102 ,则命令如下
ifconfig eth0 192.168.1.102 netmask 255.255.255.0
-
友坚的6410开发板linux的支持不是很好,CE没试过。用来学习还是先用ARM9吧,资料多
-
我直接用的SipShowIM(SIPF_ON),和SipShowIM(SIPF_OFF);包括头文件#include "sip.h" 和include "SIPAPI.H" ,驱动编译的时候加入软键盘组建。
-
已解决,在ugcui中找到一个贴子。。。
-
引用 29 楼 zzqccc 的回复:
我发给你了,去查收吧
我发现和我一样啊。看来是驱动的问题。
-
DWORD GetIsrInfo( DDKISRINFO* pddi )
{
if( pddi && m_hDevKey )
{
pddi->cbSize = sizeof( DDKISRINFO );
DWORD status = DDKReg_GetIsrInfo( m_hDevKey, pddi );
return status;
}
else
{
return ERROR_INVALID_FUNCTION;
}
}
复制代码
DWORD WINAPI DDKReg_GetIsrInfo(
HKEY hk,
PDDKISRINFO pii
);
This function populates a DDKISRINFO structure with information from the registry. If you specify an interrupt service routine (ISR) DLL, you must also specify a handler entry point and an interrupt request (IRQ).
When the DDKReg_GetIsrInfo function reads the registry, it does the following:
If an IsrDll entry is configured, it ensures that there is an IsrHandler entry configured.
If there is no IsrDll entry nor an IsrHandler entry, the function returns ERROR_SUCCESS.
If there is an IsrHandler entry, but no IsrDll entry, the function returns ERROR_INVALID_DATA.
If there are both IsrDll and IsrHandler entries, the function checks that there must be a valid Irq entry configured.
对应的数据结构typedef struct _DDKISRINFO_tag {
DWORD cbSize;
DWORD dwIrq;
DWORD dwSysintr;
WCHAR szIsrDll[DEVDLL_LEN];
WCHAR szIsrHandler[DEVENTRY_LEN];
} DDKISRINFO, *PDDKISRINFO;
-
顶…不能上网真不放便
-
支持这种解答精神
引用 3 楼 trueman_onlyme 的回复:
你是说如何操作GPIO的吗?
? ?C/C++ code#define IOP_BASE 0xB1600000// 0x56000000
typedefstruct {
unsignedint rGPACON;// 00 unsignedint rGPADAT;
unsignedint rPAD1[2];
unsignedint rGPBCON;// 10 unsignedint rGPBDAT;
unsignedint rGPBUP;
unsignedint rPAD2;
unsignedint rGPCCON;// 20 unsignedint rGPCDAT;
unsignedint rGPCUP;
unsignedint rPAD3;
unsignedint rGPDCON;// 30 unsignedint rGPDDAT;
unsignedint rGPDUP;
unsignedint rPAD4;
unsignedint rGPECON;// 40 unsignedint rGPEDAT;
unsignedint rGPEUP;
unsignedint rPAD5;
unsignedint rGPFCON;// 50 unsignedint rGPFDAT;
unsignedint rGPFUP;
unsignedint rPAD6;
unsignedint rGPGCON;// 60 unsignedint rGPGDAT;
unsignedint rGPGUP;
unsignedint rPAD7;
unsignedint rGPHCON;// 70 unsignedint rGPHDAT;
unsignedint rGPHUP;
unsignedint rPAD8;
unsignedint rMISCCR;// 80 unsignedint rDCKCON;
unsignedint rEXTINT0;
unsignedint rEXTINT1;
unsignedint rEXTINT2;// 90 unsignedint rEINTFLT0;
unsignedint rEINTFLT1;
unsignedint rEINTFLT2;
unsignedint rEINTFLT3;// A0 unsignedint rEINTMASK;
unsignedint rEINTPEND;
unsignedint rGSTATUS0;// AC unsignedint rGSTATUS1;// B0 unsignedint rGSTATUS2;// B4 ;;; SHL unsignedint rGSTATUS3;// B8 unsignedint rGSTATUS4;// BC
unsignedint rFLTOUT;// C0 unsignedint rDSC0;
unsignedint rDSC1;
unsignedint rMSLCON;
unsignedint rGPJCON;// D0 unsignedint rGPJDAT;
unsignedint rGPJUP;
unsignedint rPAD9;
}IOPreg;
然后在驱动里面 定义一个IOPreg类型的指针,如果IOPreg是虚拟地址,那么可以直接操作,如果是物理地址,要做一个映射操作,然后就想操作结构体成员变量一样来进行GPIO寄存器的配置