RealView Compilation Tools ã³ã³ãã¤ã©ã¦ã¼ã¶ã¬ã¤ã - ARM ...
RealView Compilation Tools ã³ã³ãã¤ã©ã¦ã¼ã¶ã¬ã¤ã - ARM ...
RealView Compilation Tools ã³ã³ãã¤ã©ã¦ã¼ã¶ã¬ã¤ã - ARM ...
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
コンパイラの 機 能例 4-7 絶 対 アド レスでアクセスされるオブジェ ク トのビッ トバンディ ング/* foo.c */typedef struct {int rts : 1;int cts : 1;unsigned int data;} uart;#define com2 (*((volatile uart *)0x20002000))void put_com2(int n){com2.rts = 1;com2.data = n;}/* end of foo.c */詳 細 については、 『コンパイ ラ リ ファレンスガイ ド』 の 「--bitband」(ページ 2-20) を 参 照 して 下 さい。4.3.3 制 限次 の 使 用 制 限 があ り ます。• ビッ トバンディングは struct 型 でのみ 使 用 で き ます。 共 用 体 型 、 ま たは共 用 体 を メ ンバ と し て 持 つその 他 の 集 合 型 はビ ッ ト バン ド 化 でき ません。• 構 造 体 の メ ンバは 個 別 にビ ッ ト バン ド 化 でき ません。• ビッ トバンドアクセスは、 シングルビッ トのビッ トフィールドにのみ 生成 されます。• ビッ トバンドアクセスは、const オブジェ ク ト 、 ポインタ、 およびローカルオブジェ ク ト については 生 成 されません。<strong>ARM</strong> DUI 0205IJ Copyright © 2002-2010 <strong>ARM</strong> Limited. All rights reserved. 4-21ID 100419Non-Confidential,