Files
433_STM32/Core/Inc/e32_hal.h

22 lines
497 B
C
Raw Normal View History

#ifndef _E32_HAL_H_
#define _E32_HAL_H_
#define E32_USE_GPIO_AUX 1 // 0:<3A><>ʹ<EFBFBD>û򲻼<C3BB><F2B2BBBC><EFBFBD>AUX״̬<D7B4><CCAC><EFBFBD><EFBFBD> 1:<3A><><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9>AUX<55><58><EFBFBD><EFBFBD>
#include <stdint.h>
typedef enum
{
WORK_MODE_TRANSPARENT = 0x00,
WORK_MODE_WAKE_ON_RADIO_MASTER = 0x01,
WORK_MODE_WAKE_ON_RADIO_SLAVE = 0x02,
WORK_MODE_CONFIG_AND_SLEEP = 0x03,
}work_mode_t;
void e32_hal_uart_tx( uint8_t *buffer , uint16_t length );
void e32_hal_aux_wait(void);
void e32_hal_reset(void);
void e32_hal_work_mode( work_mode_t mode);
#endif