Contents
KEYPAD
KEYPAD_Init
| Defination | void KEYPAD_Init() |
| Input Arguments | none |
| Return Value | none |
| Description | This function configures the rows and columns for keypad scan. 1.ROW lines are configured as Output. 2.Column Lines are configured as Input. |
| Usage |
KEYPAD_GetKey
| Defination | unsigned char KEYPAD_GetKey() |
| Input Arguments | none |
| Return Value | uint8_t--> ASCII value of the Key Pressed |
| Description | This function waits till a key is pressed and returns its ASCII Value. It follows the following sequences to decode the key pressed:
1.Wait till the previous key is released.. 2.Wait for the new key press. 3.Scan all the rows one at a time for the pressed key. 4.Decodes the key pressed depending on ROW-COL combination and returns its ASCII value. |
| Usage |
KEYPAD_WaitForKeyRelease
| Defination | |
| Input Arguments | |
| Return Value | |
| Description | |
| Usage |
KEYPAD_WaitForKeyPress
| Defination | |
| Input Arguments | |
| Return Value | |
| Description | |
| Usage |
