datasheetbank_Logo
数据手册搜索引擎和 Datasheet免费下载 PDF

AN672 查看數據表(PDF) - Silicon Laboratories

零件编号
产品描述 (功能)
生产厂家
AN672
Silabs
Silicon Laboratories 
AN672 Datasheet PDF : 30 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
AN672
7. Container Component
COMPONENT: si32ContainerComponent
REQUIRES: si32BaseComponent, si32ObjectComponent
PROVIDES: si32BufferObject, si32BufferObjectV2, si32PoolObject, si32QueueObject, si32QueueObjectV2,
si32ValueObject
si32ContainerComponent provides a variety of objects that can hold and manage blocks of memory, and other
objects.
7.1. si32BufferObject
An si32BufferObject is a one dimensional collection of homogenous elements whose type is indeterminate. Its
buffer associates a block of memory with its capacity and provides simple accessors that allow other objects to
access its contents in a uniform way. Elements of a buffer are accessible by index and can be addressed in any
order. Operations on buffers read and write entire elements, not pointers to them. Buffers are mutable and
inelastic; the elements are modifiable but the capacity is constant. Once initialized, the buffer size cannot be
changed.
Figure 6 shows the si32BufferObject diagram.
si32RootObject
si32BufferObject
bytes
elements
||||||
Figure 6. si32BufferObject Diagram
7.2. si32BufferObjectV2
An si32BufferObjectV2 is a one-dimensional collection of homogenous elements whose type is indeterminate. Its
buffer associates a block of memory with its capacity and provides simple accessors that allow other objects to
access its contents in a uniform way. Elements of a buffer are accessible by index and can be addressed in any
order. Operations on buffers read and write entire elements, not pointers to them. BufferV2 is mutable and elastic;
memory for the elements of the buffer is allocated from the default allocation zone whenever the capacity is
changed using _set_Capacity().
Figure 7 depicts the si32BufferObjectV2 diagram.
si32RootObject
si32BufferObjectV2
bytes
elements
||||||
Figure 7. si32BufferObjectV2 Diagram
14
Rev. 0.1

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]