www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - Helper Functions


helper_chrout

Character output function

int helper_chrout ( char ch, int zero );

Parameters

ch

Character to print over STDOUT

zero

Zero-Mode
if ch>=10 zero is ignored.
if ch<10 zero is ignored but the character printed out is ch + 48.
if ch==0 and zero==0 character print is ch + 48.
if ch==0 and zero < 0 no character is printed
if ch==0 and zero > 0 a space character is printed.

Return Value

Value in zero is returned

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    V1.10V1.00V1.00V0.90

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document