当前位置:网站首页>Programming knowledge -- basis of C language
Programming knowledge -- basis of C language
2022-07-05 07:52:00 【Soy sauce;】
1. Memory and pointer
describe
How to access memory
It looks like the first address is stored , In fact, it recognizes continuous memory space
2. Control with pointer gpio
int main()
{
unsigned int *pGPFCON = (unsigned int *)0x56000050;
unsigned int *pGPFDAT = (unsigned int *)0x56000054;
/* To configure GPF4 Is the output pin */
*pGPFCON = 0x100;
/* Set up GPF4 Output 0 */
*pGPFDAT = 0;
return 0;
}
边栏推荐
猜你喜欢
找不到实时聊天软件?给你推荐电商企业都在用的!
Application of ultra pure water particle counter in electronic semiconductors
万字详解八大排序 必读(代码+动图演示)
Ten thousand words detailed eight sorting must read (code + dynamic diagram demonstration)
Record the visual shock of the Winter Olympics and the introduction of the screen 2
A complete set of indicators for the 10000 class clean room of electronic semiconductors
Use of orbbec Astra depth camera of OBI Zhongguang in ROS melody
Win10 shortcut key
What is deep learning?
Scm-05 basis of independent keyboard
随机推荐
Day09 how to create packages import package naming conventions Alibaba Development Manual
How to migrate the device data accessed by the RTSP of the easycvr platform to easynvr?
MySQL blind note common functions
Rename directory in C [closed] - renaming a directory in C [closed]
Global and Chinese market of resistivity meter 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese markets for recycled boilers 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of quenching furnaces 2022-2028: Research Report on technology, participants, trends, market size and share
Altium Designer 19.1.18 - 更改铺铜的透明度
Extern keyword function
Apple animation optimization
Explain STM32 startup file in detail
Application of ultra pure water particle counter in electronic semiconductors
A series of problems in offline installation of automated test environment (ride)
assert_ Usage of param function
Pagoda create multiple sites with one server
MLPerf Training v2.0 榜单发布,在同等GPU配置下百度飞桨性能世界第一
Global and Chinese markets for waste treatment air switches 2022-2028: Research Report on technology, participants, trends, market size and share
万字详解八大排序 必读(代码+动图演示)
2021-10-28
Build your own random wallpaper API for free