Keypad, Clr_kb, Dis_alpha – Argox PA-20 Programming Guide User Manual

Page 68: En_alpha, Get_alpha_enable_state, Set_alpha_mode_state

Advertising
background image

PT-20 Programming Guide

66

Keypad

clr_kb

Purpose: To clear the keyboard buffer.

Syntax: void clr_kb(void);

Example call: clr_kb( );

Includes:

#include “SDK.h ”

Description: The clr_kb function clears the keyboard buffer. This function is

automatically called by the system program upon power up.

Returns: none

dis_alpha

Purpose: Disable alphabet key stroke processing.

Syntax: void dis_alpha(void);

Example call: dis_alpha( );

Includes:

#include “SDK.h ”

Description: The dis_alpha function disables the alphabet key stroke processing. If the

alpha lock status is on prior to calling this function, it will become off after

calling this function.

Returns: none

en_alpha

Purpose: Enable alphabet key stroke processing.

Syntax: void en_alpha(void);

Example call: en_alpha( );

Includes:

#include “SDK.h ”

Description: The en_alpha function enables the alphabet key stroke processing.

Returns: none

get_alpha_enable_state

Purpose: Get the status of the alphabet key stroke processing.

Syntax: void get_alpha_enable_state (void);

Example call: get_alpha_enable_state ( );

Includes:

#include “SDK.h ”

Description: This routine gets the current status, enable/disable, of the alphabet key

stroke processing. The default is enabled.

Returns: 1, if the alphabet key stroke processing is enabled.

0, if disabled.

set_alpha_mode_state

Purpose: Set the status of the alphabet mode status.

Advertising