当前位置:网站首页>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;
}
边栏推荐
- The global and Chinese market of lithographic labels 2022-2028: Research Report on technology, participants, trends, market size and share
- Define in and define out
- 1089 Insert or Merge 含测试点5
- Altium Designer 19.1.18 - 清除测量距离产生的信息
- Typecho adds Baidu collection (automatic API submission plug-in and crawler protocol)
- Extended application of single chip microcomputer-06 independent key
- LED display equipment records of the opening ceremony of the Beijing Winter Olympics
- What is Bezier curve? How to draw third-order Bezier curve with canvas?
- GPIO circuit principle of stm32
- Altium designer 19.1.18 - Import frame
猜你喜欢
Leetcode solution - number of islands
What is deep learning?
Nombre - 1. Création de tableaux
Create inf module in AMI code
研究發現,跨境電商客服系統都有這五點功能!
研究发现,跨境电商客服系统都有这五点功能!
Ten thousand words detailed eight sorting must read (code + dynamic diagram demonstration)
Extended application of single chip microcomputer-06 independent key
Beijing Winter Olympics opening ceremony display equipment record 3
Acwing-宠物小精灵之收服-(多维01背包+正序倒序+两种形式dp求答案)
随机推荐
GPIO circuit principle of stm32
editplus
Extern keyword function
Record the torch encountered by win10 cuda. is_ False problem in available()
软件设计师:03-数据库系统
Beijing Winter Olympics opening ceremony display equipment record 3
Cadence learning records
数字孪生实际应用案例-风机篇
1089 Insert or Merge 含测试点5
Train your dataset with yolov4
Calibre garbled
Opendrive record
Query the table name used by kettle in Oracle
Define in and define out
MySQL blind note common functions
Latex notes
II Simple NSIS installation package
The research found that the cross-border e-commerce customer service system has these five functions!
Baiwen 7-day smart home learning experience of Internet of things
Apple terminal skills