/*
 * PE43711.h
 *
 *  Created on: 2019. 6. 28.
 *      Author: parkyj
 */

#ifndef PE43711_H_
#define PE43711_H_
#include "main.h"
 void PE43711_PinInit(void);
 uint8_t PE43711_DataToHexConvert(double val);


 typedef struct{
    GPIO_TypeDef * CLK_PORT;
    uint16_t CLK_PIN;

    GPIO_TypeDef *DATA_PORT;
    uint16_t DATA_PIN;

    GPIO_TypeDef *LE_PORT;
    uint16_t LE_PIN;
 }PE43711_st;
 
 typedef struct{
   PE43711_st ATT_DL1;
   uint8_t    data_DL1;
   PE43711_st ATT_UL1;
   uint8_t    data_UL1;
   
   PE43711_st ATT_DL2;
   uint8_t    data_DL2;
   PE43711_st ATT_UL2;
   uint8_t    data_UL2;
   
   PE43711_st ATT_DL3;
   uint8_t    data_DL3;
   PE43711_st ATT_UL3;
   uint8_t    data_UL3;
   
   PE43711_st ATT_DL4;
   uint8_t    data_DL4;
   PE43711_st ATT_UL4;
   uint8_t    data_UL4;
 }ALL_PE43711_st;
extern ALL_PE43711_st ALL_ATT;



#endif /* PE43711_H_ */
