@CHIP-RTOS C Library V2.00 - Helper Functions
helper_chrout
Character output function int helper_chrout ( char ch, unsigned 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.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|