当前位置:网站首页>CC2530 common registers
CC2530 common registers
2022-07-03 16:40:00 【It's ridiculous】
List of articles
One 、 Port initialization related registers
Code example : Press the key 1 And the buttons 2 Each control D4 and D6 The lamp
Two 、INT Related registers
Code example : utilize key1,key2 To generate interrupt control D3,D5 The lamp ,key1,key2 It is the falling edge trigger mode
3、 ... and 、 Timer 1 Related registers
Code example : Timer 1 control D3、D4、D5、D6 Running lights , Key 1 Control switch . The frequency division coefficient of the timer is 128, timing 0.1 Second trigger
Four 、 Watchdog related registers
Code example : Use the watchdog to control D3、D4、D5、D6 Lights up separately , Key 1 Control switch .
The watchdog is in timed mode ,1 Second trigger .
Point me to jump
5、 ... and 、 Crystal oscillator related registers
Code example : System clock source and clock 32MHz, And set the timer flag output to 32MHz
6、 ... and 、 Serial port related registers
Code example : Send from the upper computer through serial port 16 Hexadecimal command code to control LED3、4、5、6 And return the corresponding feedback . Use an external crystal oscillator 32MHz, The baud rate is 9600bps、 Use USART0.
7、 ... and 、ADC Single channel conversion related registers
Code example : every other 2.5 Get once per second ADC The signal , And use serial port 0 Print information , The format is “Value=4096,Voltage = 3.21 V”
All code examples and all register tables above Click here to jump .
边栏推荐
- 【剑指 Offer 】57 - II. 和为s的连续正数序列
- Thread pool executes scheduled tasks
- 2022 love analysis · panoramic report of digital manufacturers of state-owned enterprises
- NLP四范式:范式一:非神经网络时代的完全监督学习(特征工程);范式二:基于神经网络的完全监督学习(架构工程);范式三:预训练,精调范式(目标工程);范式四:预训练,提示,预测范式(Prompt工程)
- NSQ source code installation and operation process
- (补)双指针专题
- Learn from me about the enterprise flutter project: simplified framework demo reference
- Golang 匿名函数使用
- Page dynamics [2]keyframes
- Two sides of the evening: tell me about the bloom filter and cuckoo filter? Application scenario? I'm confused..
猜你喜欢

Mysql 将逗号隔开的属性字段数据由列转行

(Supplement) double pointer topic

Basis of target detection (IOU)

The mixlab editing team is recruiting teammates~~

Daily code 300 lines learning notes day 10

Google Earth engine (GEE) - daymet v4: daily surface weather data set (1000m resolution) including data acquisition methods for each day

word 退格键删除不了选中文本,只能按delete

IDEA-配置插件

关于视觉SLAM的最先进技术的调查-A survey of state-of-the-art on visual SLAM

Détails du contrôle de la congestion TCP | 3. Espace de conception
随机推荐
Google Earth engine (GEE) - daymet v4: daily surface weather data set (1000m resolution) including data acquisition methods for each day
nifi从入门到实战(保姆级教程)——flow
【剑指 Offer 】64. 求1+2+…+n
Thinking about telecommuting under the background of normalization of epidemic | community essay solicitation
To resist 7-Zip, list "three sins"? Netizen: "is the third key?"
[Jianzhi offer] 64 Find 1+2+... +n
(补)双指针专题
NSQ源码安装运行过程
如何在本机搭建SVN服务器
Daily code 300 lines learning notes day 10
【剑指 Offer】58 - I. 翻转单词顺序
Golang decorator mode and its use in NSQ
There are several APIs of airtest and poco that are easy to use wrong in "super". See if you have encountered them
13mnnimo5-4 German standard steel plate 13MnNiMo54 boiler steel 13MnNiMo54 chemical properties
2022爱分析· 国央企数字化厂商全景报告
SVN使用规范
Deep understanding of grouping sets statements in SQL
What kind of material is 14Cr1MoR? Analysis of chemical composition and mechanical properties of 14Cr1MoR
Cocos Creator 2. X automatic packaging (build + compile)
IDEA-配置插件