//scan pin open input to read gpio level
#define PC3_INPUT_ENABLE 1
#define PC1_INPUT_ENABLE 1
#if (UI_LED_ENABLE)
/**
* @brief Definition gpio for led
*/
#define GPIO_LED_WHITE GPIO_PB6
#define GPIO_LED_GREEN GPIO_PB5
#define GPIO_LED_BLUE GPIO_PB4
#define GPIO_LED_RED GPIO_PB7
#define LED_ON_LEVAL 1 //gpio output high voltage to turn on led
/**
* @brief this function is used to process keyboard matrix status change.
* @param[in] none
* @return none
*/
void key_change_proc(void)
{
u8 key0 = kb_event.keycode[0];
u8 key_buf[8] = {0,0,0,0,0,0,0,0};