feat support ch438 extuart function for xidatong board

This commit is contained in:
Liu_Weichao
2022-03-24 15:17:47 +08:00
parent 79b417f101
commit 59dbe7058b
4 changed files with 141 additions and 85 deletions
@@ -266,11 +266,7 @@
#define CH438_NWR_PIN IMXRT_GET_PIN(3, 4)
#define CH438_NRD_PIN IMXRT_GET_PIN(3, 5)
#define CH438_ALE_PIN IMXRT_GET_PIN(3, 2)
#define CH438_INT_PIN IMXRT_GET_PIN(3, 3)
// #define DIR_485CH1_PIN
// #define DIR_485CH2_PIN
void CH438RegTest(unsigned char num);
#define CH438_INT_PIN IMXRT_GET_PIN(3, 3)
int Imxrt1052HwCh438Init(void);