- 浏览: 117372 次
- 性别:
- 来自: 深圳
文章分类
最新评论
首先 1.加log4j的jar包
2.配置SSH框架后一定要删除asm-2.2.3.jar文件
1.创建数据库连接
========================================================================
Myeclipse配置MySQL数据库连接
.MyEclipse(右上角) -- > MyEclipse DataBase Explorer -->new(左边空白处)
1.Driver template = MySQL
2.Driver name = MySql
3.Connection URL = jdbc:mysql://127.0.0.1:3306/test
4.User name = root
5.Password = admin
6.Add JARs = mysql-connector-java-5.0.8-bin.jar
7.Save Password
8.Finish
MyEclipse配置Oracle连接
MyEclipse(右上角) -- > MyEclipse DataBase Explorer -->new(左边空白处)
-->1.Driver template = Oracle
2.Driver name = oracle
3.Connection URL = jdbc:oracle:thin:@127.0.0.1:1521/test
4.User name = scott
5.Password = tiger
6.Add JARs = classes12.jar
7.Save Password --下一步
8.Finish
-->
========================================================================
2.把Hibernate添加到项目中
选定项目名(右键)-->Add Hibernate Capacilities --> Net --> Net -->
1.DB Driver = MySql
2.Connection URL = jdbc:mysql://127.0.0.1:3306/test
3.Driver Class = com.mysql.jdbc.Driver
4.User name = root
5.Password = admin
6.Dialect = MySQL --> Java package = com.factory --> Finish (建议不用)
选定项目名(右键)-->菜单栏-->MyEclipse-->Project Capalibities-->
Add Hibernate Capalibities-->选中最后一个单选按钮-->Next-->
Next-->DB Driver(选中需要连接的数据库)-->Next-->去掉复选框-->Finish
这是整合了Spring,Sessions对象由Spring来产生和管理,
=======================================================================
3.把Struts添加到项目中
选定项目名(右键)-->菜单栏-->MyEclipse-->Project Capalibities-->
Add Struts Capalibities-->Finish
========================================================================
4.添加Spring到项目中
选定项目名(右键)-->菜单栏-->MyEclipse-->Project Capalibities-->
Add Spring Capalibitie-->选中前面三个复选框,和Spring 2.0 WelLibraries
(在下拉列表框中)-->勾中最后一个单选按钮-->Next-->Finish
=======================================================================
5.根据数据库表生成配置文件和实体类
1.在MyEclipse DataBase Explorer中选择相应的表
2.在MyEclipse中选择项目 --> MyEclipse(右键) --> add Hibernater Capabilities
--> Next--> Next --> 选择一个连接(DB Driver) --> Next -->
新建一个文件夹(保存工厂类) -->finish
1.在MyEclipse DataBase Explorer中选择相应的表 --> Hibernate Reverse Engineering(右键)
--> java package:com.pojos --> 选择前面三个复选框 --> ID Generator=native -->
勾中Enable many-to-many detection
--> Next -->
勾中Indude referenced table(A->B)
勾中Indude referenced table(A<-B) -- >完成
========================================================================
6.创建BaseDao类
public class BaseDao extends HibernateDaosupport{
//添加
public void insert(Object obj){
super.getHibernateTemplate().save(obj);
}
//修改
public void update(Object obj){
super.getHibernateTemplate().update(obj);
}
//删除
public void delete(Object obj){
super.getHibernateTemplate().delete(obj);
}
//根据主键删除
public void delById(Class c,Serializable id){
delete(getById(c,id));
}
//查询所有
public List getById(Class c){
return super.getHibernateTemplate.loadAll(c);
}
//根据主键查询
public Object getById(Class c,Serializable id){
return super.getHibernateTemplate.load(c,id);
}
//批量更新
public void executeQuery(String hql,Object...p){
return super.getHibernateTemplate.bulkupdate(hql,p);
}
//分页查询
public List page(final String hql,final page Integer,final size Integer,
final Object...p){
return super.getHibernateTemplate.executeFind(new HibernateCallback(){
public Object doInHibernate(Session session)
throws HibernateException, SQLException {
Query query = session.createQuery(hql);
//处理参数
if(p!=null){
for(int i=0;i<p.length;i++){
query.setParameter(i,p[i]);
}
}
if(page!=null && size!=null){
query.setFirstResult((page-1)*szie).setMaxResults(size);
}
return query.list();
}
});
}
}
--通过实体类创建表
public static void main(String[] args){
Configuration config = new Configuration().configure();
SchemaExport export = new SchemaExport(config);
export.create(true, true);
}
========================================================================
7.创建Dao的实现类
--com.daoimpl -- IStudentDao
public Class StudentDaoImpl extends BaseDao{
//添加
public void insertStudent(Student obj){
super.insert(obj);
}
//修改
public void updateStudent(Student,obj){
super.update(obj);
}
//根据主键删除
public void delStudentById(Integer id){
super.delById(Student.class,id);
}
//查询所有
public List getAll(Student stu){
return super.getAll(stu);
}
//根据主键查询
public Student getStuById(Integer id){
return (Student)super.getById(Student.class,id);
}
//批量更新
public void executeQuery(String hql,Object...p){
super.executeQuery(hql,p);
}
//分页处理
public List page(final String hql,final Integer page,final
Integer size,final Object...p){
return super.pageQuery(hql,page,size,p);
}
}
========================================================================
8.创建Service
--com.serviceimpl.StudentServiceImpl
public Class StudentServiceImpl{
private IStudentDao istudentDao;
public void setIStudentDao(IStudentDao istudentDao){
this.istudentDao = istudentDao;
}
//添加
public void insertStudent(Student obj){
istudentDao.insertStudent(obj);
}
//修改
public void updateStudent(Student obj){
istudentDao.updateStudent(obj);
}
//删除
public void delStuById(int id){
istudentDao.delStudentById(id);
}
//查询所有
public List getAllStudent(){
istudentDao.getAllStudent();
}
//根据主键查询
public Student getStuById(int id){
return istudentDao.getStuById(id);
}
//分页处理
public Map page(int page,int size){
//求总条数
int sum = istudentDao.getAllStudent().size();
//求总页数
int count = sum%size ==0 ? sum/size : sum/size+1;
//边界处理
if(page<1){
page = 1;
}else if(page > count){
page = count;
}
//查询记录
List list = istudentDao.page("from Student",page,size);
//保存
Map map = new HashMap();
map.put("page",page);
map.put("count",count);
map.put("list",list);
return map;
}
}
========================================================================
9.配置applicationContext.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-2.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
<!--BaseDao-->
<bean id="baseDao" class="com.comm.BaseDao">
<property id="" ref="SessionFactory"></property>
</bean>
<!--Dao-->
<bean id="studentDao" class="com.daoimpl.StudentDaoImpl" parent="baseDao"></bean>
<bean id="teacherDao" class="com.daoimpl.TeacherDaoImpl" parent="baseDao" ></bean>
<!--Service-->
<bean id="studentService" class="com.serviceimpl.StudentServiceImpl">
<property name="istudentDao" ref="studentDao" ></property>
</bean>
<bean id="teacherService" class="com.serviceimpl.TeacherServiceimpl">
<property name="iteacherDao" ref="teacherDao"></property>
</bean>
<!--事务管理器-->
<bean id="transactionManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager"
parent="baseDao"></bean>
<!--事务属性-->
<tx:advice name="mytx">
<tx:attributes>
<tx:method name="*"/>
</tx:attributes>
</tx:advice>
<!--织毛衣-->
<aop:config>
<aop:advisor advice-ref="mytx" pointcut="execution(* com.iservice.*.*(..))" />
</aop:config>
<!-- 配置Action -->
<bean name="/student" class="com.action.StudentAction">
<property name="istudentService" ref="studentService"></property>
</bean>
(action里的属性service) (引用上面的service)
========================================================================
10.配置dwr.xml文件
<dwr>
<allow>
<convert match="com.pojos.*" converter="bean" ></convert>
<create javascript="myjs" creator="spring">
<param name="beanName" value="tsaleformService"></param>
<include method="getById" /> 可以放多
</create>
</allow>
</dwr>
========================================================================
11.配置web.xml文件
<!--指定Spring文件的路径-->
<context-param>
<param-name>contextConfigLoaction</param-name>
<param-value>/WEB-INF/classes/appl*.xml</param-value>
</context-param>
<!--启动监听-->
<listener>
<listener-class>ContextLoaderListener</listener-class>
</listener>
<!--控制Session开关-->
<filter>
<filter-name>openSession</filter-name>
<filter-class>OpenSessionInViewFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>openSession</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!--中文乱码处理-->
<filter>
<filter-name>chinese</filter-name>
<filetr-class>CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>utf-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>chinese</filter-name>
<filter-class>/*</filter-class>
</filter-mapping>
<!--配置dwr--> 如果不用可以不配
<servlet>
<servlet-name>dwr</servlet-name>
<servlet-value>DwrServlet</servlet-value>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
</serevlet>
<servlet-mapping>
<servlet-name>dwr</servlet-name>
<url-patter></url-patter>
</servlet-mapping>
========================================================================
12.配置Action文件
public class StudentAction extends DispatchAction {
private IStudentService istudentService;
public void setIStudentService(IIStudentService istudentService) {
this.istudentService = istudentService;
}
//查询所有商品数据
public ActionForward getAll(ActionMapping mapping,ActionForm form,
HttpServletRequest request,HttpServletResponse response){
Map map = itGoodsService.page(1,3);
request.setAttribute("TGoodsList", map);
return new ActionForward("/ShowGoods.jsp");
}
}
------------------------------------------------------------------------
1.JSTL标签 (导入jar包到lib文件夹下)
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
2.jQuery (在/WebRoot/jQuery/jquery-1.2.6.pack.js路径下放jar文件)
<script src="/KS-3-lxb/jQuery/jquery-1.2.6.pack.js"></script>
3.注意 <man-to-one lazy="false">
2.配置SSH框架后一定要删除asm-2.2.3.jar文件
1.创建数据库连接
========================================================================
Myeclipse配置MySQL数据库连接
.MyEclipse(右上角) -- > MyEclipse DataBase Explorer -->new(左边空白处)
1.Driver template = MySQL
2.Driver name = MySql
3.Connection URL = jdbc:mysql://127.0.0.1:3306/test
4.User name = root
5.Password = admin
6.Add JARs = mysql-connector-java-5.0.8-bin.jar
7.Save Password
8.Finish
MyEclipse配置Oracle连接
MyEclipse(右上角) -- > MyEclipse DataBase Explorer -->new(左边空白处)
-->1.Driver template = Oracle
2.Driver name = oracle
3.Connection URL = jdbc:oracle:thin:@127.0.0.1:1521/test
4.User name = scott
5.Password = tiger
6.Add JARs = classes12.jar
7.Save Password --下一步
8.Finish
-->
========================================================================
2.把Hibernate添加到项目中
选定项目名(右键)-->Add Hibernate Capacilities --> Net --> Net -->
1.DB Driver = MySql
2.Connection URL = jdbc:mysql://127.0.0.1:3306/test
3.Driver Class = com.mysql.jdbc.Driver
4.User name = root
5.Password = admin
6.Dialect = MySQL --> Java package = com.factory --> Finish (建议不用)
选定项目名(右键)-->菜单栏-->MyEclipse-->Project Capalibities-->
Add Hibernate Capalibities-->选中最后一个单选按钮-->Next-->
Next-->DB Driver(选中需要连接的数据库)-->Next-->去掉复选框-->Finish
这是整合了Spring,Sessions对象由Spring来产生和管理,
=======================================================================
3.把Struts添加到项目中
选定项目名(右键)-->菜单栏-->MyEclipse-->Project Capalibities-->
Add Struts Capalibities-->Finish
========================================================================
4.添加Spring到项目中
选定项目名(右键)-->菜单栏-->MyEclipse-->Project Capalibities-->
Add Spring Capalibitie-->选中前面三个复选框,和Spring 2.0 WelLibraries
(在下拉列表框中)-->勾中最后一个单选按钮-->Next-->Finish
=======================================================================
5.根据数据库表生成配置文件和实体类
1.在MyEclipse DataBase Explorer中选择相应的表
2.在MyEclipse中选择项目 --> MyEclipse(右键) --> add Hibernater Capabilities
--> Next--> Next --> 选择一个连接(DB Driver) --> Next -->
新建一个文件夹(保存工厂类) -->finish
1.在MyEclipse DataBase Explorer中选择相应的表 --> Hibernate Reverse Engineering(右键)
--> java package:com.pojos --> 选择前面三个复选框 --> ID Generator=native -->
勾中Enable many-to-many detection
--> Next -->
勾中Indude referenced table(A->B)
勾中Indude referenced table(A<-B) -- >完成
========================================================================
6.创建BaseDao类
public class BaseDao extends HibernateDaosupport{
//添加
public void insert(Object obj){
super.getHibernateTemplate().save(obj);
}
//修改
public void update(Object obj){
super.getHibernateTemplate().update(obj);
}
//删除
public void delete(Object obj){
super.getHibernateTemplate().delete(obj);
}
//根据主键删除
public void delById(Class c,Serializable id){
delete(getById(c,id));
}
//查询所有
public List getById(Class c){
return super.getHibernateTemplate.loadAll(c);
}
//根据主键查询
public Object getById(Class c,Serializable id){
return super.getHibernateTemplate.load(c,id);
}
//批量更新
public void executeQuery(String hql,Object...p){
return super.getHibernateTemplate.bulkupdate(hql,p);
}
//分页查询
public List page(final String hql,final page Integer,final size Integer,
final Object...p){
return super.getHibernateTemplate.executeFind(new HibernateCallback(){
public Object doInHibernate(Session session)
throws HibernateException, SQLException {
Query query = session.createQuery(hql);
//处理参数
if(p!=null){
for(int i=0;i<p.length;i++){
query.setParameter(i,p[i]);
}
}
if(page!=null && size!=null){
query.setFirstResult((page-1)*szie).setMaxResults(size);
}
return query.list();
}
});
}
}
--通过实体类创建表
public static void main(String[] args){
Configuration config = new Configuration().configure();
SchemaExport export = new SchemaExport(config);
export.create(true, true);
}
========================================================================
7.创建Dao的实现类
--com.daoimpl -- IStudentDao
public Class StudentDaoImpl extends BaseDao{
//添加
public void insertStudent(Student obj){
super.insert(obj);
}
//修改
public void updateStudent(Student,obj){
super.update(obj);
}
//根据主键删除
public void delStudentById(Integer id){
super.delById(Student.class,id);
}
//查询所有
public List getAll(Student stu){
return super.getAll(stu);
}
//根据主键查询
public Student getStuById(Integer id){
return (Student)super.getById(Student.class,id);
}
//批量更新
public void executeQuery(String hql,Object...p){
super.executeQuery(hql,p);
}
//分页处理
public List page(final String hql,final Integer page,final
Integer size,final Object...p){
return super.pageQuery(hql,page,size,p);
}
}
========================================================================
8.创建Service
--com.serviceimpl.StudentServiceImpl
public Class StudentServiceImpl{
private IStudentDao istudentDao;
public void setIStudentDao(IStudentDao istudentDao){
this.istudentDao = istudentDao;
}
//添加
public void insertStudent(Student obj){
istudentDao.insertStudent(obj);
}
//修改
public void updateStudent(Student obj){
istudentDao.updateStudent(obj);
}
//删除
public void delStuById(int id){
istudentDao.delStudentById(id);
}
//查询所有
public List getAllStudent(){
istudentDao.getAllStudent();
}
//根据主键查询
public Student getStuById(int id){
return istudentDao.getStuById(id);
}
//分页处理
public Map page(int page,int size){
//求总条数
int sum = istudentDao.getAllStudent().size();
//求总页数
int count = sum%size ==0 ? sum/size : sum/size+1;
//边界处理
if(page<1){
page = 1;
}else if(page > count){
page = count;
}
//查询记录
List list = istudentDao.page("from Student",page,size);
//保存
Map map = new HashMap();
map.put("page",page);
map.put("count",count);
map.put("list",list);
return map;
}
}
========================================================================
9.配置applicationContext.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-2.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
<!--BaseDao-->
<bean id="baseDao" class="com.comm.BaseDao">
<property id="" ref="SessionFactory"></property>
</bean>
<!--Dao-->
<bean id="studentDao" class="com.daoimpl.StudentDaoImpl" parent="baseDao"></bean>
<bean id="teacherDao" class="com.daoimpl.TeacherDaoImpl" parent="baseDao" ></bean>
<!--Service-->
<bean id="studentService" class="com.serviceimpl.StudentServiceImpl">
<property name="istudentDao" ref="studentDao" ></property>
</bean>
<bean id="teacherService" class="com.serviceimpl.TeacherServiceimpl">
<property name="iteacherDao" ref="teacherDao"></property>
</bean>
<!--事务管理器-->
<bean id="transactionManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager"
parent="baseDao"></bean>
<!--事务属性-->
<tx:advice name="mytx">
<tx:attributes>
<tx:method name="*"/>
</tx:attributes>
</tx:advice>
<!--织毛衣-->
<aop:config>
<aop:advisor advice-ref="mytx" pointcut="execution(* com.iservice.*.*(..))" />
</aop:config>
<!-- 配置Action -->
<bean name="/student" class="com.action.StudentAction">
<property name="istudentService" ref="studentService"></property>
</bean>
(action里的属性service) (引用上面的service)
========================================================================
10.配置dwr.xml文件
<dwr>
<allow>
<convert match="com.pojos.*" converter="bean" ></convert>
<create javascript="myjs" creator="spring">
<param name="beanName" value="tsaleformService"></param>
<include method="getById" /> 可以放多
</create>
</allow>
</dwr>
========================================================================
11.配置web.xml文件
<!--指定Spring文件的路径-->
<context-param>
<param-name>contextConfigLoaction</param-name>
<param-value>/WEB-INF/classes/appl*.xml</param-value>
</context-param>
<!--启动监听-->
<listener>
<listener-class>ContextLoaderListener</listener-class>
</listener>
<!--控制Session开关-->
<filter>
<filter-name>openSession</filter-name>
<filter-class>OpenSessionInViewFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>openSession</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!--中文乱码处理-->
<filter>
<filter-name>chinese</filter-name>
<filetr-class>CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>utf-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>chinese</filter-name>
<filter-class>/*</filter-class>
</filter-mapping>
<!--配置dwr--> 如果不用可以不配
<servlet>
<servlet-name>dwr</servlet-name>
<servlet-value>DwrServlet</servlet-value>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
</serevlet>
<servlet-mapping>
<servlet-name>dwr</servlet-name>
<url-patter></url-patter>
</servlet-mapping>
========================================================================
12.配置Action文件
public class StudentAction extends DispatchAction {
private IStudentService istudentService;
public void setIStudentService(IIStudentService istudentService) {
this.istudentService = istudentService;
}
//查询所有商品数据
public ActionForward getAll(ActionMapping mapping,ActionForm form,
HttpServletRequest request,HttpServletResponse response){
Map map = itGoodsService.page(1,3);
request.setAttribute("TGoodsList", map);
return new ActionForward("/ShowGoods.jsp");
}
}
------------------------------------------------------------------------
1.JSTL标签 (导入jar包到lib文件夹下)
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
2.jQuery (在/WebRoot/jQuery/jquery-1.2.6.pack.js路径下放jar文件)
<script src="/KS-3-lxb/jQuery/jquery-1.2.6.pack.js"></script>
3.注意 <man-to-one lazy="false">
发表评论
文章已被作者锁定,不允许评论。
相关推荐
s_socket.h
总的来说,`h_adder_半加器编码_$h_adder_vhdl_h_adder_`这个项目是一个使用VHDL语言实现的半加器设计,旨在教授基本的数字逻辑设计和VHDL编程。这个设计对于理解和学习数字系统、逻辑门以及VHDL语言来说是一个很好...
KV-H20S/H40S 定位单元是 Keyence 公司制造的 CPU 单元专用定位单元。安装 KV-H20S/H40S 后, 通过驱动单元,可由步进电机或伺服电机实现定位控制功能。 在本手册中,将就 KV-H20S/H40S 定位单元及 KV-H1HW MOTION ...
wa4300s_fit.bin 4300s系列瘦ap文件 支持H3C WA4300S系列(适用于WA4320、WA4320-ACN-C、WA4320-ACN-SI、WA4320-ACN-PI、WAP722S、WAP712、WAP712C、WA4320-ACN-E、WA4320-ACN-D、WA2610H)
在本例中,我们关注的是ST7701S LCD驱动,它与SC7731G处理器通过MIPI接口进行通信。下面我们将深入探讨这些技术点。 首先,ST7701S是一款专为小型彩色TFT液晶显示器设计的控制器/驱动器。它具有内置的源极驱动器和...
这是H3C S5120系列交换机专用软件。为S5120S_EI的固件,R1519P06版本。。。。。。。。。
【标题】"HM1S4G_Los14.1_beta1_wanyikai0791.zip" 提供的是一个针对红米1S移动4G版的刷机包,这个包是基于Android 7.0(Nougat)系统的。在IT行业中,刷机是指替换或更新手机的操作系统,通常是为了获得更先进的...
在提供的代码文件"Bivariate_Fox_H_Details.m"中,我们可以看到一个关于二维Fox-H函数的计算实例。这个程序可能包含以下内容:定义函数H的计算方法,可能使用了数值积分技术如辛普森法则或梯形法则;实现多维输入以...
_H_RNN_HLS_An_LSTM_template_and_a_few_examples_using_Vivado_H_RNN_HLS
Bcode_s_m_h.rar实现GPSB码接收、译码等工程,软件基于FPGA编写,已应用于工程
#define s ((((((((0 #define X )*2+1 #define _ )*2 unsigned char code Font8x16[] = { /* pixels */ /* 0x00 */ s _ _ _ _ _ _ _ _ , s _ _ _ _ _ _ _ _ , s _ _ _ _ _ _ _ _ , s _ _ _ _ _ _ _ _ , s _ _ _ _ ...
GM8136S是一款专为H.264 IP-CAM(网络摄像头)应用设计的系统级芯片(SOC)。该数据手册详细介绍了芯片的功能、特性、寄存器配置、引脚定义以及封装信息,是开发者和工程师进行产品设计与集成的重要参考资料。 在...
For signed types, negative values are represented using 2's complement. No padding bits. Optional: These typedefs are not defined if no types with such characteristics exist.* int16_t uint16_t int32_t...
标题中的“lcd.rar_Mipi屏蔽初始化_ST7796H_mipi_st7796s_st7796s mipi”提到了LCD显示模块、MIPI(Mobile Industry Processor Interface)接口的初始化过程,以及两个特定的液晶控制器型号:ST7796H和ST7796S。...
很抱歉,根据您提供的信息,"add_a_s_c_H.rar"似乎是重复的描述,并没有提供实质性的内容来生成相关的IT知识点。通常,一个压缩包文件(如RAR格式)可能包含各种类型的文件,如文档、图片、代码、软件安装包等。如果...
这里可能涉及到数学库如`math.h`中的pow函数或者MATLAB的`power`函数。 3. **终止函数(sfuntmpl_termFcn)**:当仿真结束时,这个函数会被调用,通常用于清理资源或执行一些收尾工作。 4. **采样时间函数...
在自由空间光通信领域,Fox's H函数是一个重要的数学工具,用于分析和设计光学通信系统的性能。这个函数是由John Fox在1968年引入的,以解决非高斯分布的光强度传播问题,特别是在大气湍流条件下。Fox's H函数,也常...
system_stm32f10x_cl.h system_stm32f10x.h stm32f10x_wwdg.h stm32f10x_usart.h stm32f10x_type.h stm32f10x_tim.h stm32f10x_systick.h stm32f10x_spi.h stm32f10x_sdio.h cortexm3_macro.h stm32f10x_adc.h 等...
标题中的"瘦转胖AP 3CDTFTP搭建_wa4300s_fat.bin升级包.7z"表明这是一个将H3C的瘦AP转换为胖AP的过程,并且涉及到3CDTFTP服务器的搭建以及wa4300s_fat.bin升级文件的使用。H3C的WA4300S-CMW520-R是一款企业级无线接...
在提供的文件中,`s_curve.c`和`s_curve.h`可能包含了S曲线加减速算法的具体实现。`s_curve.c`通常是C语言源代码文件,包含实际的算法逻辑和驱动函数;`s_curve.h`是头文件,可能定义了相关的数据结构、函数原型和...