Silicon Laboratories Si4010 Software Programming Manual page 63

Hide thumbs Also See for Si4010:
Table of Contents

Advertisement

7.8.5. MTP Module Functions
lMtp_GetDecCount
Description: Given the starting index of a counter in XDATA array this function returns
the decoded content of the balanced counter as a 32-bit unsigned value.
The user must call the pbMtp_Read() first before working with this function.
Inputs:
biIndex: (BYTE) Starting byte index of the counter in the MTP array. Recom-
mended values: 0, 4, 8, 12.
biNibbleCnt: (BYTE) Width of the counter (see biNibbleCnt table above.) Valid
values: 3 through 6.
Outputs:
Counter value: (LWORD) Decoded value of the counter stored at the specified
index.
vMtp_IncCount
Description: Increments, by one, the value of the counter starting at the specified byte
index in the MTP. The user must call the pbMtp_Read() first before working with this
function.
This function does not write the incremented value into the actual MTP. In order to write
the incremented value into the MTP memory the user should call the bMtp_Write() func-
tion.
Inputs:
biIndex: (BYTE) Starting byte index of the desired counter in the MTP array. Rec-
ommended values: 0, 4, 8, 12.
biNibbleCnt: (BYTE) Width of the counter (see biNibbleCnt table above.) Valid
values: 3 through 6.
Rev. 1.0
AN370
63

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Si4010 and is the answer not in the manual?

Questions and answers

Table of Contents