(Page 15 of 35 in this chapter) Version


ISUPBCDtoASCII

Description

Converts a binary coded decimal string to a string of ASCII digits.

Prototype

U8 TXISUPAPIFUNC ISUPBCDtoASCII ( U8 *bcd,
U8 bcdLen,
U8 *ascii,
U8 asciiLen )

bcd Pointer to binary coded decimal string

bcdlen Number of BCD digits in source string

ascii Pointer to destination string

asciilen Number of bytes in destination string. Must be at least bcdlen plus one byte for NULL termination.

Return Values

This function returns the number of successfully converted digits if successful, else zero.

Details

None.



(Page 15 of 35 in this chapter) Version


tech_support@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.