| | |
| | | RS485_START_REASON_NONE = 0U, //ÎÞ´¥·¢£¬²»ÐèÒªÖ´ÐÐ |
| | | RS485_START_REASON_KEY , //°´¼ü |
| | | RS485_START_REASON_TIMING, //¶¨Ê± |
| | | RS485_START_REASON_REPORT, //ʵʱÉϱ¨ÐèÒª |
| | | RS485_START_REASON_REPORT, //Éϱ¨ÐèÒª |
| | | RS485_START_REASON_RECORD, //±£´æ¼Ç¼ÐèÒª£¬¿ÉÓÃÓÚÉϱ¨¶³½áµÈÇé¿ö |
| | | |
| | | } RS485_START_REASON; //485Æô¶¯ÔÒò |
| | |
| | | |
| | | #define DECIMAL_2_BCD(__DECIMAL__) ((__DECIMAL__ / 16) * 10 + __DECIMAL__ % 16) |
| | | |
| | | |
| | | /*ÿÈÕ0µã*/ |
| | | #define DAILY_ZERO ((&sys_clockBCD_g)->hour == 0 && (&sys_clockBCD_g)->min == 0 && (&sys_clockBCD_g)->sec == 0 ? SET : RESET) |
| | | |
| | | // ´óС¶Ëת»» |
| | | #define BSWAP_16(x) ((x & 0x00ff) << 8) | \ |
| | |
| | | |
| | | FlagStatus IO_JitterEliminationCheck(GPIO_Type* GPIOx, uint32_t GPIO_Pin,uint16_t delay_time_ms,BitAction bit_status); |
| | | |
| | | int Datecmp(const uint8_t *pDate1, const uint8_t *pDate2); |
| | | |
| | | #endif |
| | | |