Browsing this Thread:
1 Anonymous Users
|
Re: 低压检测
|
|
版主
Joined
: 2004/4/30 10:53 最後登入時間
: 2021/11/30 18:11
From CAE, Microchip
Group:
站務管理者 註冊會員
Level : 75 HP : 744 / 1861 MP : 5367 / 111011 EXP : 45
|
unsigned POR :1; b0 定義此位元為 POR unsigned BOR :1; 定義b1 unsigned IDLE :1; unsigned SLEEP :1; unsigned WDTO :1; unsigned SWDTEN :1; unsigned SWR :1; unsigned EXTR :1; 定義 b7 unsigned :5; // b8~b12 共五個位元保留 unsigned BGST :1; 定義 b13 unsigned IOPUWR :1; b14 unsigned TRAPR :1; b15
發表於: 2008/4/10 9:58
|
|
|
低压检测
|
|
新會員
Joined
: 2008/1/2 11:04 最後登入時間
: 2008/4/10 9:36
Group:
註冊會員
Level : 2 HP : 0 / 28 MP : 3 / 1380 EXP : 12
|
PIC30F6010A有低压检测功能吗?在它头文件里查到RCON寄存器的定义如下: typedef struct tagRCONBITS { unsigned POR :1; unsigned BOR :1; unsigned IDLE :1; unsigned SLEEP :1; unsigned WDTO :1; unsigned SWDTEN :1; unsigned SWR :1; unsigned EXTR :1; unsigned :5; unsigned BGST :1; unsigned IOPUWR :1; unsigned TRAPR :1; } RCONBITS; 请问其中的unsigned :5;是什么意思啊?
發表於: 2008/4/10 9:39
|
|
You can view topic.
你 不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.