资讯
STM32CubeMX+w25qxx(2024-08-13)
(uint8_t* pBuffer, uint32_t ReadAddr, uint16_t NumByteToRead);
#endif
2、w25qxx.c
#include 'w25qxx.h......
STM32库函数SystemInit()详解(2024-07-23)
= (uint32_t)0xF8FF0000;
#else
RCC->CFGR = (uint32_t)0xF0FF0000;
#endif /* STM32F10X_CL */
这个......
Linux3.4.2移植CS8900网卡驱动到优龙FS2410开发板(2024-07-12)
器的值 */
1887 #endif
1888 #if DEBUGGING
1889 net_debug = debug;
1890 #else
1891 debug = 0;
1892 #endif......
STM32串口接收不定长数据:采用标志位(比如0X0D,0X0A)结束法(2024-06-14)
:#ifdef 标示符
程序段1
#else
程序段2
#endif
表示:如果标示符已经被#define命令定义过,则编译程序段1,否则编译程序段2。期中else部分可以没有。
2:#if 表达......
STM32时钟系统详解(2024-01-29)
;
#else
/* Disable all interrupts and clear pending bits */
RCC->CIR = 0x009F0000;
#endif......
基于51单片机的步进电机控制性系统(2023-02-09)
== get_data_1_count(keyValueTemp) )
{
return keyValueTemp;
}
else
{
return 0;
}
#endif
}
else......
U-Boot-2011.03移植nandflash到mini2440(2024-06-24)
= CONFIG_S3C24XX_TWRPH1;#else tacls = 4; twrph0 = 8; twrph1 = 8;#endif......
u-boot-2009.08在mini2440上的移植 增加nor flash功能(2024-07-01)
+ (0x000002AAA << 1)))#else#define MEM_FLASH_ADDR1 (*(volatile u16 *)(CONFIG_SYS_FLASH_BASE......
STM32入门-STM32时钟系统,时钟初始化配置函数(2022-12-27)
;
#else
RCC->CFGR &= (uint32_t)0xF0FF0000;
#endif / STM32F10X_CL /
/ Reset HSEON, CSSON......
适合单片机裸机的开源软件框架:Zorb(2024-02-22)
);
} while(0)
#else
#define ZF_DEBUG(rank, x...)
#endif /* ZF_DEBUG_ON......
uboot在s3c2440上的移植(5)(2024-07-22)
;
nand->rw_oob = 0;
}
#endif
else if (!strcmp(s, ".oob......
linux驱动程序之电源管理之标准linux休眠和唤醒机制分析(二)(2023-06-19)
]);
}
#endif
#ifdef CONFIG_HIBERNATION // undef, don't support STD mode
s += sprintf......
STM32 bool(2024-08-13)
' and 'false' and keywords */#define bool _Bool#define true 1#define false 0#else#ifdef __GNUC__......
VPLC系列机器视觉运动控制一体机快速入门(四)(2024-09-29)
) = ZV_LENTOIMG(0, TABLE(34))
d_roi_rect2(4) = TABLE(35)
SET_REDRAW
endif
else
is_redraw = 0
if mouse_scan(21......
u-boot移植(十)---代码修改---支持nor flash(2023-07-03)
字符串 Flash:
8
9 if (board_flash_wp_on()) //此为空函数,返回0值,直接执行 else后面的语句
10 printf......
STM32中重要的C语言知识点总结(2023-10-24)
用一般使用格式如下
#if 整型常量表达式1
程序段1
#elif 整型常量表达式2
程序段2
#else
程序段3
#endif
执行起来就是,如果整形常量表达式为真,则执行程序段1,以此类推,最后#endif是......
简易数字电压表+ADC0809+总线方式实现一路数据转换(2024-07-26)
] //地址定义语句
sbit EOC = P3^5;
unsigned char ADC0809_Conv();
#endif
#include "ADC0809.h......
u-boot之怎么实现分区(2024-08-29)
省略******/
#else /* ENV_IS_EMBEDDED */
gd->env_addr = (ulong)&default_environment[0];//取得......
u-boot-2009.08在mini2440上的移植 增加DM9000网卡驱动(2024-07-01)
(offset);
} else if (strcmp(argv[0],"loady")==0) {#else if (strcmp(argv[0],"loady")==0) {#endif......
数码管动态显示(定时器中断方式)+小数点+高位为0不显示(2024-07-26)
四位十进制数
{
if(adc_result>=1000) //千位
{
LedBuf[0]= adc_result/1000;
}
else......
51单片机IO口模拟串口通讯的设计(2023-10-12)
;
while(!F_TM);
BT_SND=1;
F_TM=0;
while(!F_TM);
TIMER0_DISABLE; //停止timer
#else
unsigned char ii;
ii=0......
STM32H743的FDCAN发送线程卡死的处理方法(2024-09-04)
- >buffer[no].result = RT_CAN_SND_RESULT_OK;
}
else
{
tx_fifo- >buffer......
Linux驱动之内核加载模块过程分析(2024-08-20)
*unused_gpl_syms;
const unsigned long *unused_gpl_crcs;
#endif
#ifdef CONFIG_MODULE_SIG
/* Signature......
Tiny6410移植tslib(2024-09-20)
43 return 0;
44 timer_err:
45 free_irq(IRQ_TIMER3, &timer_for_1wire_irq);
46
47 #else......
u-boot-2011.06在基于s3c2440开发板的移植之支持NandFlash读写(2024-06-07)
= CONFIG_S3C24XX_TWRPH1;
#else
tacls = 2;
twrph0 = 3;
twrph1 = 1;
#endif
cfg......
从5方面描述STM32F407+ESP8266连接机智云过程(2024-06-04)
*gprsInfoData = (gprsInfo_t *)gizdata;
#else
moduleInfo_t *ptModuleInfo = (moduleInfo_t *)gizdata......
移植u-boot-1.1.6之mtdparts分区(2023-06-13)
}
7 else
8 {
9 mtdparts_init();
10 }
11 #endif
以上两种办法都是可以的。
......
移植u-boot-2012.04.01到JZ2440(2024-06-17)
is 120 MHz ! */ ldr r0, =CLKDIVN mov r1, #3 str r1, [r0] #else /* 2. 设置......
如何在STM32中要实现数据通讯(2023-08-03)
状态标记
//如果想串口中断接收,请不要注释以下宏定义
void uart_init(u32 bound);
#endif
对应的usart.c代码
#include "sys.h"
#include......
深度剖析STM32时钟系统(2024-07-23)
;= (uint32_t)0xF8FF0000;
#else
RCC->CFGR &= (uint32_t)0xF0FF0000;
#endif /* STM32F10X_CL */
/* Reset......
步进电机控制+普中51单片机+普中官方(2024-08-08)
{
dir=!dir;
}
else if(key_num==2) //加速,延时speed越小,速度......
U-boot在S3C2440上的移植详解(五)(2023-01-11)
;rw_oob = 0; }#endif
else if (!strcmp(s, ".oob")) { /* out-of-band data......
u-boot-2009.08在mini2440上的移植 增加USB功能(2024-07-01)
*/ misc_init_r ();#endif extern void port_init(void); port_init(); /* enable exceptions......
S3C6410之uboot回炉再造(3)lowlevle_init.S(2024-09-03)
ELFIN_UART_CONSOLE_BASE (ELFIN_UART_BASE + ELFIN_UART1_OFFSET)
10 #else
11 #define ELFIN_UART_CONSOLE_BASE......
LinkedInSTM32F4时钟系统初始化的程序代码分享(2023-10-09)
)|(3UL 《《 11*2));
#endif
RCC-》CR |= (uint32_t)0x00000001;
RCC-》CFGR = 0x00000000;
RCC-》CR &......
基于LinkedInSTM32F4时钟系统初始化设置(2024-05-13)
));
#endif
RCC-》CR |= (uint32_t)0x00000001;
RCC-》CFGR = 0x00000000;
RCC-》CR &= (uint32_t)0xFEF6FFFF......
伺服焊钳机器人做EMZ的程序分析(2024-05-13)
= $softplcint[DiNum] - 6
else
VwEmzMessage(6,#NotifyMsg) 没有选择会发出信息提示
halt
endif
until EaxNum>0 带1把焊......
u-boot-2011.06在基于s3c2440开发板的移植之nandflash启动(2024-06-07)
CONFIG_SYS_TEXT_BASE =$(RAM_TEXT)
else
CONFIG_SYS_TEXT_BASE = 0
endif
4、nand_spl/board/Samsung/
在该......
STM32G0开发笔记:EEPROM M24C02的使用方法(2023-08-23)
}else{
21 log("ERR:EEPROM write failed.
");
22 }
23
24 #endif
25
26 log......
u-boot-2014.10移植(8)重定位,支持NAND启动(2023-06-09)
)
{
*p = val;
return 0;
}
else
{
// nor
return 1......
51学习笔记之以硬件spi与max6675通信实现K型热电偶测温(2024-07-24)
SPI data from slave and send it to PC)
// SendUart(SPISwap(RecvUart()));
// #else......
USART1_IRQHandler 函数的理解(2024-08-12)
#if SYSTEM_SUPPORT_OS //如果 SYSTEM_SUPPORT_OS 为真,则需要支持 OS
5 OSIntEnter();
6 #endif
7......
s3c2440调试nandflash裸机程序遇到的问题(2024-08-01)
= s3c2440_write_cmd;
#ifdef LARGER_NAND_PAGE
nand_chip.write_addr = s3c2440_write_addr_lp;
#else......
S3C2440 Linux 触摸屏驱动(2024-06-14)
printk
#else
#define DPRINTK
#endif
typedef struct {
unsigned short pressure......
u-boot-2009.08在mini2440上的移植 建立mini2440工程环境(2024-07-01)
, =INTSUBMSK str r1, [r0]# endif
# if defined(CONFIG_S3C2440)//添加s3c2440的中断禁止部分 ldr r1, =0x7fff......
ADC0834模块的C51源程序(2023-03-28)
;
}
SET_ADC083X_CLK;
CLR_ADC083X_CLK;
chanel 《《=1;
}
#else //缺省时为ADC0831
SET_ADC083X_CLK;
CLR_ADC083X_CLK;
#endif......
STM32中重要的C语言知识点整理(2023-10-20)
for 8139_RXBUF_IDX"
下面编译看一看结果:
2、#if、#elif、#else、#endif、#ifdef、#ifndef
(1......
u-boot-2011.03在mini2440/micro2440上的移植 在RAM中运行(2024-06-27)
str r1, [r0]# endif
# if defined(CONFIG_S3C2440)# define LOCKTIME 0x4C000000# define MPLLCON......
RS485网络协议的测试程序(2022-12-27)
("Waiting........");
#else
LcdWrite("Sending message");
#endif
// Just setup the network address......
S3C2440 GPIO (使用miniARM 2440)(2024-06-11)
LedControl(U8 led,U8 flag );
#endif
#include "led.h"
void delay(U32 tt......
相关企业
, LCD displays, charging plug-in connectors, cable connectors, connector blocks or anything else
. we always seize the needs precisely, and gain the updated information faster than anyone else. We
calibrations, color bands and just about anything else to help fit your application.
Ram Meter Inc. also
. The company adheres to the principle of “Quality first, Prestige first, Custom- ers above anything else
){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false
understanding the needs and desires of customers than anyone else,back up with wider scope of product
the needs and desires of customers than anyone else,back up with wider scope of product ranges,more