35
//--------------------------------------------------------------------------------------------------------
#define F75111_INTERNAL_ADDR
0x9C // OnBoard F75111 Chipset
#define F75111_EXTERNAL_ADDR
0x6E // External F75111 Chipset
//--------------------------------------------------------------------------------------------------------
#define F75111_CONFIGURATION
0x03 // Configure GPIO13 to WDT2 Function
//--------------------------------------------------------------------------------------------------------
#define GPIO1X_CONTROL_MODE 0x10 // Select Output Mode or Input Mode
#define GPIO2X_CONTROL_MODE 0x20 // Select GPIO2X Output Mode or Input Mode
#define GPIO3X_CONTROL_MODE 0x40 // Select GPIO3X Output Mode or Input Mode
//--------------------------------------------------------------------------------------------------------
#define GPIO1X_INPUT_DATA 0x12 // GPIO1X Input
#define GPIO3X_INPUT_DATA 0x42 // GPIO3X Input
//--------------------------------------------------------------------------------------------------------
#define GPIO2X_OUTPUT_DATA 0x21 // GPIO2X Output
//--------------------------------------------------------------------------------------------------------
#define GPIO1X_PULSE_CONTROL 0x13 // GPIO1x Level/Pulse Control Register
// 0:Level Mode
// 1:Pulse Mode
#define GPIO1X_PULSE_WIDTH_CONTROL 0x14 // GPIO1x Pulse Width Control Register
#define GP1_PSWIDTH_500US
0x00 // When select Pulse mode:500us.
#define GP1_PSWIDTH_1MS
0x01 // When select Pulse mode:1ms.
#define GP1_PSWIDTH_20MS
0x02 // When select Pulse mode:20ms.
#define GP1_PSWIDTH_100MS
0x03 // When select Pulse mode:100ms.
//--------------------------------------------------------------------------------------------------------
#define GPIO2X_PULSE_CONTROL
0x23 // GPIO2x Level/Pulse Control Register
// 0:Level Mode
// 1:Pulse Mode
#define GPIO2X_PULSE_WIDTH_CONTROL 0x24 // GPIO2x Pulse Width Control Register
#define GP2_PSWIDTH_500US
0x00 // When select Pulse mode:500us.
#define GP2_PSWIDTH_1MS
0x01 // When select Pulse mode:1ms.
#define GP2_PSWIDTH_20MS
0x02 // When select Pulse mode:20ms.
#define GP2_PSWIDTH_100MS
0x03 // When select Pulse mode:100ms.
//--------------------------------------------------------------------------------------------------------
#define GPIO3X_PULSE_CONTROL
0x43 // GPIO3x Level/Pulse Control Register
// 0:Level Mode
// 1:Pulse Mode
#define GPIO3X_Output_Data
0x41 // GPIO3x Output Data Register
#define GPIO3X_PULSE_WIDTH_CONTROL 0x44 // GPIO3x Pulse Width Control Register
#define GP3_PSWIDTH_500US
0x00 // When select Pulse mode:500us.
#define GP3_PSWIDTH_1MS
0x01 // When select Pulse mode:1ms.
7. Define F75111 pin in F75111.h