01 2022 档案

摘要:1.首页定制 所有页面的静态资源需要thymeleaf 静态资源下载地址 2.国际化 改完后的index.html <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta http-equiv 阅读全文
posted @ 2022-01-11 16:20 蘑菇王国大聪明 阅读(134) 评论(0) 推荐(0) 编辑
摘要:1.模板引擎 导入thymeleaf后,可以使用controller来打开相应的页面 2.代码 <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> <ti 阅读全文
posted @ 2022-01-10 16:56 蘑菇王国大聪明 阅读(46) 评论(0) 推荐(0) 编辑
摘要:1.Linux中断 1.1 Linux中断API函数 request_irq函数 在 Linux 内核中要想使用某个中断是需要申请的,request_irq 函数用于申请中断,request_irq函数可能会导致睡眠,因此不能在中断上下文或者其他禁止睡眠的代码段中使用 request_irq 函数。 阅读全文
posted @ 2022-01-09 16:52 蘑菇王国大聪明 阅读(372) 评论(0) 推荐(0) 编辑
摘要:1.驱动代码 #include <linux/types.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/f 阅读全文
posted @ 2022-01-07 16:50 蘑菇王国大聪明 阅读(150) 评论(0) 推荐(0) 编辑
摘要:1.设备树代码 2.驱动代码 #include <linux/types.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/init.h> #include 阅读全文
posted @ 2022-01-07 09:04 蘑菇王国大聪明 阅读(37) 评论(0) 推荐(0) 编辑
摘要:1.驱动代码 #include <linux/types.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/f 阅读全文
posted @ 2022-01-06 14:18 蘑菇王国大聪明 阅读(65) 评论(0) 推荐(0) 编辑
摘要:1.驱动代码 #include <linux/types.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/f 阅读全文
posted @ 2022-01-06 11:15 蘑菇王国大聪明 阅读(33) 评论(0) 推荐(0) 编辑
摘要:1.驱动代码 #include <linux/types.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/f 阅读全文
posted @ 2022-01-06 10:44 蘑菇王国大聪明 阅读(55) 评论(0) 推荐(0) 编辑
摘要:1.驱动代码 #include <linux/types.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/f 阅读全文
posted @ 2022-01-06 09:51 蘑菇王国大聪明 阅读(71) 评论(0) 推荐(0) 编辑
摘要:1.设备树代码 2.驱动代码 #include <linux/types.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/init.h> #include 阅读全文
posted @ 2022-01-05 14:46 蘑菇王国大聪明 阅读(158) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示