STM3210C_EVAL_IOE_Exported_Constants
[STM3210C_EVAL_IOE]

Defines

#define _delay_   delay
 Uncomment the line below to enable verfying each written byte in write operation.
#define ALL_IT   0xFF
#define AUDIO_RESET_PIN   IO_Pin_2 /* IO_Exapnader_2 */
 Eval Board IO Pins definition.
#define Direction_IN   0x00
 IO Pin directions.
#define Direction_OUT   0x01
#define EDGE_FALLING   0x01
 Edge detection value.
#define EDGE_RISING   0x02
#define IO1_IN_ALL_PINS   (uint32_t)(MEMS_INT1_PIN | MEMS_INT2_PIN)
 Eval Board both IO Exapanders Pins definition.
#define IO1_OUT_ALL_PINS   (uint32_t)(VBAT_DIV_PIN)
#define IO2_IN_ALL_PINS   (uint32_t)(JOY_IO_PINS)
#define IO2_OUT_ALL_PINS   (uint32_t)(AUDIO_RESET_PIN | MII_INT_PIN)
#define IO_IT_0   0x01
 IO Interrupts.
#define IO_IT_1   0x02
#define IO_IT_2   0x04
#define IO_IT_3   0x08
#define IO_IT_4   0x10
#define IO_IT_5   0x20
#define IO_IT_6   0x40
#define IO_IT_7   0x80
#define IO_Pin_0   0x01
 IO Pins.
#define IO_Pin_1   0x02
#define IO_Pin_2   0x04
#define IO_Pin_3   0x08
#define IO_Pin_4   0x10
#define IO_Pin_5   0x20
#define IO_Pin_6   0x40
#define IO_Pin_7   0x80
#define IO_Pin_ALL   0xFF
#define IOE_1_ADDR   0x82
 The 7 bits IO Expanders adresses and chip IDs.
#define IOE_2_ADDR   0x88
#define IOE_ADC_FCT   0x01
 IO Expander Functionalities definitions.
#define IOE_DMA   DMA1
 IOE DMA definitions.
#define IOE_DMA_CLK   RCC_AHBPeriph_DMA1
#define IOE_DMA_RX_CHANNEL   DMA1_Channel7
#define IOE_DMA_RX_TCFLAG   DMA1_FLAG_TC7
#define IOE_DMA_TX_CHANNEL   DMA1_Channel6
#define IOE_DMA_TX_TCFLAG   DMA1_FLAG_TC6
#define IOE_GIT_ADC   0x40
#define IOE_GIT_EN   0x01
 Global interrupt Enable bit.
#define IOE_GIT_FE   0x10
#define IOE_GIT_FF   0x08
#define IOE_GIT_FOV   0x04
#define IOE_GIT_FTH   0x02
#define IOE_GIT_GPIO   0x80
 Glaobal Interrupts definitions.
#define IOE_GIT_TEMP   0x20
#define IOE_GIT_TOUCH   0x01
#define IOE_I2C   I2C1
 I2C port definitions.
#define IOE_I2C_CLK   RCC_APB1Periph_I2C1
#define IOE_I2C_DR   ((uint32_t)0x40005410)
#define IOE_I2C_SCL_GPIO_CLK   RCC_APB2Periph_GPIOB
#define IOE_I2C_SCL_GPIO_PORT   GPIOB
#define IOE_I2C_SCL_PIN   GPIO_Pin_6
#define IOE_I2C_SDA_GPIO_CLK   RCC_APB2Periph_GPIOB
#define IOE_I2C_SDA_GPIO_PORT   GPIOB
#define IOE_I2C_SDA_PIN   GPIO_Pin_7
#define IOE_I2C_SPEED   300000
#define IOE_INMEMS_IT   (uint8_t)(IO_IT_2 | IO_IT_3)
#define IOE_IO_FCT   0x04
#define IOE_IT_EXTI_IRQn   EXTI15_10_IRQn
#define IOE_IT_EXTI_LINE   EXTI_Line14
#define IOE_IT_EXTI_PIN_SOURCE   GPIO_PinSource14
#define IOE_IT_EXTI_PORT_SOURCE   GPIO_PortSourceGPIOB
#define IOE_IT_GPIO_CLK   RCC_APB2Periph_GPIOB
#define IOE_IT_GPIO_PORT   GPIOB
#define IOE_IT_PIN   GPIO_Pin_14
 IO Expander Interrupt line on EXTI.
#define IOE_ITSRC_INMEMS   0x02
#define IOE_ITSRC_JOYSTICK   0x04
#define IOE_ITSRC_TEMPSENS   0x08
#define IOE_ITSRC_TSC   0x01
 Interrupt source configuration definitons.
#define IOE_JOY_IT   (uint8_t)(IO_IT_3 | IO_IT_4 | IO_IT_5 | IO_IT_6 | IO_IT_7)
#define IOE_REG_ADC_CAPT   0x22
#define IOE_REG_ADC_CTRL1   0x20
#define IOE_REG_ADC_CTRL2   0x21
#define IOE_REG_ADC_DATA_CH0   0x30
#define IOE_REG_ADC_DATA_CH1   0x32
#define IOE_REG_ADC_DATA_CH2   0x34
#define IOE_REG_ADC_DATA_CH3   0x36
#define IOE_REG_ADC_DATA_CH4   0x38
#define IOE_REG_ADC_DATA_CH5   0x3A
#define IOE_REG_ADC_DATA_CH6   0x3B
#define IOE_REG_ADC_DATA_CH7   0x3C
#define IOE_REG_ADC_INT_EN   0x0E
 ADC Registers.
#define IOE_REG_ADC_INT_STA   0x0F
#define IOE_REG_CHP_ID   0x00
 Identification registers.
#define IOE_REG_FIFO_SIZE   0x4C
#define IOE_REG_FIFO_STA   0x4B
#define IOE_REG_FIFO_TH   0x4A
#define IOE_REG_GPIO_AF   0x17
#define IOE_REG_GPIO_CLR_PIN   0x11
#define IOE_REG_GPIO_DIR   0x13
#define IOE_REG_GPIO_ED   0x14
#define IOE_REG_GPIO_FE   0x16
#define IOE_REG_GPIO_INT_EN   0x0C
#define IOE_REG_GPIO_INT_STA   0x0D
#define IOE_REG_GPIO_MP_STA   0x12
#define IOE_REG_GPIO_RE   0x15
#define IOE_REG_GPIO_SET_PIN   0x10
 GPIO Registers.
#define IOE_REG_ID_VER   0x02
#define IOE_REG_INT_CTRL   0x09
 Interrupt Control register.
#define IOE_REG_INT_EN   0x0A
#define IOE_REG_INT_STA   0x0B
#define IOE_REG_SPI_CFG   0x08
#define IOE_REG_SYS_CTRL1   0x03
 General Control Registers.
#define IOE_REG_SYS_CTRL2   0x04
#define IOE_REG_TEMP_CTRL   0x60
 Temperature Sensor registers.
#define IOE_REG_TEMP_DATA   0x61
#define IOE_REG_TEMP_TH   0x62
#define IOE_REG_TSC_CFG   0x41
#define IOE_REG_TSC_CTRL   0x40
 TouchScreen Registers.
#define IOE_REG_TSC_DATA   0x57
#define IOE_REG_TSC_DATA_X   0x4D
#define IOE_REG_TSC_DATA_XYZ   0x52
#define IOE_REG_TSC_DATA_Y   0x4F
#define IOE_REG_TSC_DATA_Z   0x51
#define IOE_REG_TSC_FRACT_XYZ   0x56
#define IOE_REG_TSC_I_DRIVE   0x58
#define IOE_REG_TSC_SHIELD   0x59
#define IOE_REG_WDM_BL_X   0x46
#define IOE_REG_WDM_BL_Y   0x48
#define IOE_REG_WDM_TR_X   0x42
#define IOE_REG_WDM_TR_Y   0x44
#define IOE_TEMPSENS_FCT   0x08
#define IOE_TS_FCT   0x02
#define IOE_TS_IT   (uint8_t)(IO_IT_0 | IO_IT_1 | IO_IT_2)
#define JOY_IO_DOWN   IO_Pin_6
#define JOY_IO_LEFT   IO_Pin_5
#define JOY_IO_NONE   JOY_IO_PINS
#define JOY_IO_PINS   (uint32_t)(IO_Pin_3 | IO_Pin_4 | IO_Pin_5 | IO_Pin_6 | IO_Pin_7)
#define JOY_IO_RIGHT   IO_Pin_4
#define JOY_IO_SEL   IO_Pin_7
 JOYSTICK Pins definition.
#define JOY_IO_UP   IO_Pin_3
#define MEMS_INT1_PIN   IO_Pin_3 /* IO_Exapnader_1 */
#define MEMS_INT2_PIN   IO_Pin_2 /* IO_Exapnader_1 */
#define MII_INT_PIN   IO_Pin_0 /* IO_Exapnader_2 */
#define Polarity_High   0x04
#define Polarity_Low   0x00
 Interrupt Line output parameters.
#define STMPE811_ID   0x0811
#define TOUCH_IO_ALL   (uint32_t)(IO_Pin_1 | IO_Pin_2 | IO_Pin_3 | IO_Pin_4)
#define TOUCH_XD   IO_Pin_2 /* IO_Exapnader_1 */
#define TOUCH_XU   IO_Pin_4 /* IO_Exapnader_1 */
#define TOUCH_YD   IO_Pin_1 /* IO_Exapnader_1 */
 Touch Screen Pins definition.
#define TOUCH_YU   IO_Pin_3 /* IO_Exapnader_1 */
#define Type_Edge   0x02
#define Type_Level   0x00
#define VBAT_DIV_PIN   IO_Pin_0 /* IO_Exapnader_1 */

Define Documentation

#define _delay_   delay

Uncomment the line below to enable verfying each written byte in write operation.

The I2C_WriteDeviceRegister() function will then compare the written and read data and return error status if a mismatch occurs. Uncomment the line below if you want to use user defined Delay function (for precise timing), otherwise default _delay_ function defined within this driver is used (less precise timing). Uncomment the line below if you want to use user timeout callback. Function prototypes is declared in this file but function body may be implemented into user application.

Definition at line 159 of file stm3210c_eval_ioe.h.

#define ALL_IT   0xFF

Definition at line 403 of file stm3210c_eval_ioe.h.

#define AUDIO_RESET_PIN   IO_Pin_2 /* IO_Exapnader_2 */

Eval Board IO Pins definition.

Definition at line 204 of file stm3210c_eval_ioe.h.

Referenced by IOE_Config().

#define Direction_IN   0x00

IO Pin directions.

Definition at line 381 of file stm3210c_eval_ioe.h.

#define Direction_OUT   0x01

Definition at line 382 of file stm3210c_eval_ioe.h.

#define EDGE_FALLING   0x01

Edge detection value.

Definition at line 411 of file stm3210c_eval_ioe.h.

#define EDGE_RISING   0x02

Definition at line 412 of file stm3210c_eval_ioe.h.

#define IO1_IN_ALL_PINS   (uint32_t)(MEMS_INT1_PIN | MEMS_INT2_PIN)

Eval Board both IO Exapanders Pins definition.

Definition at line 214 of file stm3210c_eval_ioe.h.

#define IO1_OUT_ALL_PINS   (uint32_t)(VBAT_DIV_PIN)

Definition at line 216 of file stm3210c_eval_ioe.h.

#define IO2_IN_ALL_PINS   (uint32_t)(JOY_IO_PINS)

Definition at line 215 of file stm3210c_eval_ioe.h.

Referenced by IOE_ReadIOPin().

#define IO2_OUT_ALL_PINS   (uint32_t)(AUDIO_RESET_PIN | MII_INT_PIN)

Definition at line 217 of file stm3210c_eval_ioe.h.

Referenced by IOE_WriteIOPin().

#define IO_IT_0   0x01

IO Interrupts.

Definition at line 395 of file stm3210c_eval_ioe.h.

#define IO_IT_1   0x02

Definition at line 396 of file stm3210c_eval_ioe.h.

#define IO_IT_2   0x04

Definition at line 397 of file stm3210c_eval_ioe.h.

#define IO_IT_3   0x08

Definition at line 398 of file stm3210c_eval_ioe.h.

#define IO_IT_4   0x10

Definition at line 399 of file stm3210c_eval_ioe.h.

#define IO_IT_5   0x20

Definition at line 400 of file stm3210c_eval_ioe.h.

#define IO_IT_6   0x40

Definition at line 401 of file stm3210c_eval_ioe.h.

#define IO_IT_7   0x80

Definition at line 402 of file stm3210c_eval_ioe.h.

#define IO_Pin_0   0x01

IO Pins.

Definition at line 368 of file stm3210c_eval_ioe.h.

#define IO_Pin_1   0x02

Definition at line 369 of file stm3210c_eval_ioe.h.

#define IO_Pin_2   0x04

Definition at line 370 of file stm3210c_eval_ioe.h.

#define IO_Pin_3   0x08

Definition at line 371 of file stm3210c_eval_ioe.h.

#define IO_Pin_4   0x10

Definition at line 372 of file stm3210c_eval_ioe.h.

#define IO_Pin_5   0x20

Definition at line 373 of file stm3210c_eval_ioe.h.

#define IO_Pin_6   0x40

Definition at line 374 of file stm3210c_eval_ioe.h.

#define IO_Pin_7   0x80

Definition at line 375 of file stm3210c_eval_ioe.h.

#define IO_Pin_ALL   0xFF

Definition at line 376 of file stm3210c_eval_ioe.h.

#define IOE_1_ADDR   0x82

The 7 bits IO Expanders adresses and chip IDs.

Definition at line 222 of file stm3210c_eval_ioe.h.

#define IOE_2_ADDR   0x88
#define IOE_ADC_FCT   0x01

IO Expander Functionalities definitions.

Definition at line 233 of file stm3210c_eval_ioe.h.

#define IOE_DMA   DMA1

IOE DMA definitions.

Definition at line 182 of file stm3210c_eval_ioe.h.

#define IOE_DMA_CLK   RCC_AHBPeriph_DMA1

Definition at line 183 of file stm3210c_eval_ioe.h.

#define IOE_DMA_RX_CHANNEL   DMA1_Channel7

Definition at line 185 of file stm3210c_eval_ioe.h.

#define IOE_DMA_RX_TCFLAG   DMA1_FLAG_TC7

Definition at line 187 of file stm3210c_eval_ioe.h.

#define IOE_DMA_TX_CHANNEL   DMA1_Channel6

Definition at line 184 of file stm3210c_eval_ioe.h.

#define IOE_DMA_TX_TCFLAG   DMA1_FLAG_TC6

Definition at line 186 of file stm3210c_eval_ioe.h.

#define IOE_GIT_ADC   0x40

Definition at line 250 of file stm3210c_eval_ioe.h.

#define IOE_GIT_EN   0x01

Global interrupt Enable bit.

Definition at line 417 of file stm3210c_eval_ioe.h.

#define IOE_GIT_FE   0x10

Definition at line 252 of file stm3210c_eval_ioe.h.

#define IOE_GIT_FF   0x08

Definition at line 253 of file stm3210c_eval_ioe.h.

#define IOE_GIT_FOV   0x04

Definition at line 254 of file stm3210c_eval_ioe.h.

#define IOE_GIT_FTH   0x02

Definition at line 255 of file stm3210c_eval_ioe.h.

#define IOE_GIT_GPIO   0x80

Glaobal Interrupts definitions.

Definition at line 249 of file stm3210c_eval_ioe.h.

#define IOE_GIT_TEMP   0x20

Definition at line 251 of file stm3210c_eval_ioe.h.

#define IOE_GIT_TOUCH   0x01

Definition at line 256 of file stm3210c_eval_ioe.h.

#define IOE_I2C   I2C1

I2C port definitions.

Definition at line 168 of file stm3210c_eval_ioe.h.

#define IOE_I2C_CLK   RCC_APB1Periph_I2C1

Definition at line 169 of file stm3210c_eval_ioe.h.

#define IOE_I2C_DR   ((uint32_t)0x40005410)

Definition at line 176 of file stm3210c_eval_ioe.h.

#define IOE_I2C_SCL_GPIO_CLK   RCC_APB2Periph_GPIOB

Definition at line 172 of file stm3210c_eval_ioe.h.

#define IOE_I2C_SCL_GPIO_PORT   GPIOB

Definition at line 171 of file stm3210c_eval_ioe.h.

#define IOE_I2C_SCL_PIN   GPIO_Pin_6

Definition at line 170 of file stm3210c_eval_ioe.h.

#define IOE_I2C_SDA_GPIO_CLK   RCC_APB2Periph_GPIOB

Definition at line 175 of file stm3210c_eval_ioe.h.

#define IOE_I2C_SDA_GPIO_PORT   GPIOB

Definition at line 174 of file stm3210c_eval_ioe.h.

#define IOE_I2C_SDA_PIN   GPIO_Pin_7

Definition at line 173 of file stm3210c_eval_ioe.h.

#define IOE_I2C_SPEED   300000

Definition at line 177 of file stm3210c_eval_ioe.h.

#define IOE_INMEMS_IT   (uint8_t)(IO_IT_2 | IO_IT_3)

Definition at line 406 of file stm3210c_eval_ioe.h.

Referenced by IOE_ITConfig().

#define IOE_IO_FCT   0x04

Definition at line 235 of file stm3210c_eval_ioe.h.

#define IOE_IT_EXTI_IRQn   EXTI15_10_IRQn

Definition at line 199 of file stm3210c_eval_ioe.h.

#define IOE_IT_EXTI_LINE   EXTI_Line14

Definition at line 198 of file stm3210c_eval_ioe.h.

#define IOE_IT_EXTI_PIN_SOURCE   GPIO_PinSource14

Definition at line 197 of file stm3210c_eval_ioe.h.

#define IOE_IT_EXTI_PORT_SOURCE   GPIO_PortSourceGPIOB

Definition at line 196 of file stm3210c_eval_ioe.h.

#define IOE_IT_GPIO_CLK   RCC_APB2Periph_GPIOB

Definition at line 195 of file stm3210c_eval_ioe.h.

#define IOE_IT_GPIO_PORT   GPIOB

Definition at line 194 of file stm3210c_eval_ioe.h.

#define IOE_IT_PIN   GPIO_Pin_14

IO Expander Interrupt line on EXTI.

Definition at line 193 of file stm3210c_eval_ioe.h.

#define IOE_ITSRC_INMEMS   0x02

Definition at line 242 of file stm3210c_eval_ioe.h.

Referenced by IOE_ITConfig().

#define IOE_ITSRC_JOYSTICK   0x04

Definition at line 243 of file stm3210c_eval_ioe.h.

Referenced by IOE_ITConfig(), and main().

#define IOE_ITSRC_TEMPSENS   0x08

Definition at line 244 of file stm3210c_eval_ioe.h.

#define IOE_ITSRC_TSC   0x01

Interrupt source configuration definitons.

Definition at line 241 of file stm3210c_eval_ioe.h.

#define IOE_JOY_IT   (uint8_t)(IO_IT_3 | IO_IT_4 | IO_IT_5 | IO_IT_6 | IO_IT_7)

Definition at line 404 of file stm3210c_eval_ioe.h.

Referenced by EXTI15_10_IRQHandler(), and IOE_ITConfig().

#define IOE_REG_ADC_CAPT   0x22

Definition at line 303 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_CTRL1   0x20

Definition at line 301 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_CTRL2   0x21

Definition at line 302 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_DATA_CH0   0x30

Definition at line 304 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_DATA_CH1   0x32

Definition at line 305 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_DATA_CH2   0x34

Definition at line 306 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_DATA_CH3   0x36

Definition at line 307 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_DATA_CH4   0x38

Definition at line 308 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_DATA_CH5   0x3A

Definition at line 309 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_DATA_CH6   0x3B

Definition at line 310 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_DATA_CH7   0x3C

Definition at line 311 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_INT_EN   0x0E

ADC Registers.

Definition at line 299 of file stm3210c_eval_ioe.h.

#define IOE_REG_ADC_INT_STA   0x0F

Definition at line 300 of file stm3210c_eval_ioe.h.

#define IOE_REG_CHP_ID   0x00

Identification registers.

Definition at line 265 of file stm3210c_eval_ioe.h.

#define IOE_REG_FIFO_SIZE   0x4C

Definition at line 324 of file stm3210c_eval_ioe.h.

#define IOE_REG_FIFO_STA   0x4B

Definition at line 323 of file stm3210c_eval_ioe.h.

#define IOE_REG_FIFO_TH   0x4A

Definition at line 322 of file stm3210c_eval_ioe.h.

#define IOE_REG_GPIO_AF   0x17

Definition at line 294 of file stm3210c_eval_ioe.h.

#define IOE_REG_GPIO_CLR_PIN   0x11

Definition at line 288 of file stm3210c_eval_ioe.h.

#define IOE_REG_GPIO_DIR   0x13

Definition at line 290 of file stm3210c_eval_ioe.h.

#define IOE_REG_GPIO_ED   0x14

Definition at line 291 of file stm3210c_eval_ioe.h.

#define IOE_REG_GPIO_FE   0x16

Definition at line 293 of file stm3210c_eval_ioe.h.

#define IOE_REG_GPIO_INT_EN   0x0C

Definition at line 281 of file stm3210c_eval_ioe.h.

#define IOE_REG_GPIO_INT_STA   0x0D

Definition at line 282 of file stm3210c_eval_ioe.h.

#define IOE_REG_GPIO_MP_STA   0x12

Definition at line 289 of file stm3210c_eval_ioe.h.

#define IOE_REG_GPIO_RE   0x15

Definition at line 292 of file stm3210c_eval_ioe.h.

#define IOE_REG_GPIO_SET_PIN   0x10

GPIO Registers.

Definition at line 287 of file stm3210c_eval_ioe.h.

#define IOE_REG_ID_VER   0x02

Definition at line 266 of file stm3210c_eval_ioe.h.

#define IOE_REG_INT_CTRL   0x09

Interrupt Control register.

Definition at line 278 of file stm3210c_eval_ioe.h.

#define IOE_REG_INT_EN   0x0A

Definition at line 279 of file stm3210c_eval_ioe.h.

#define IOE_REG_INT_STA   0x0B

Definition at line 280 of file stm3210c_eval_ioe.h.

#define IOE_REG_SPI_CFG   0x08

Definition at line 273 of file stm3210c_eval_ioe.h.

#define IOE_REG_SYS_CTRL1   0x03

General Control Registers.

Definition at line 271 of file stm3210c_eval_ioe.h.

#define IOE_REG_SYS_CTRL2   0x04

Definition at line 272 of file stm3210c_eval_ioe.h.

#define IOE_REG_TEMP_CTRL   0x60

Temperature Sensor registers.

Definition at line 337 of file stm3210c_eval_ioe.h.

#define IOE_REG_TEMP_DATA   0x61

Definition at line 338 of file stm3210c_eval_ioe.h.

#define IOE_REG_TEMP_TH   0x62

Definition at line 339 of file stm3210c_eval_ioe.h.

#define IOE_REG_TSC_CFG   0x41

Definition at line 317 of file stm3210c_eval_ioe.h.

#define IOE_REG_TSC_CTRL   0x40

TouchScreen Registers.

Definition at line 316 of file stm3210c_eval_ioe.h.

#define IOE_REG_TSC_DATA   0x57

Definition at line 330 of file stm3210c_eval_ioe.h.

#define IOE_REG_TSC_DATA_X   0x4D

Definition at line 325 of file stm3210c_eval_ioe.h.

#define IOE_REG_TSC_DATA_XYZ   0x52

Definition at line 328 of file stm3210c_eval_ioe.h.

#define IOE_REG_TSC_DATA_Y   0x4F

Definition at line 326 of file stm3210c_eval_ioe.h.

#define IOE_REG_TSC_DATA_Z   0x51

Definition at line 327 of file stm3210c_eval_ioe.h.

#define IOE_REG_TSC_FRACT_XYZ   0x56

Definition at line 329 of file stm3210c_eval_ioe.h.

#define IOE_REG_TSC_I_DRIVE   0x58

Definition at line 331 of file stm3210c_eval_ioe.h.

#define IOE_REG_TSC_SHIELD   0x59

Definition at line 332 of file stm3210c_eval_ioe.h.

#define IOE_REG_WDM_BL_X   0x46

Definition at line 320 of file stm3210c_eval_ioe.h.

#define IOE_REG_WDM_BL_Y   0x48

Definition at line 321 of file stm3210c_eval_ioe.h.

#define IOE_REG_WDM_TR_X   0x42

Definition at line 318 of file stm3210c_eval_ioe.h.

#define IOE_REG_WDM_TR_Y   0x44

Definition at line 319 of file stm3210c_eval_ioe.h.

#define IOE_TEMPSENS_FCT   0x08

Definition at line 236 of file stm3210c_eval_ioe.h.

#define IOE_TS_FCT   0x02

Definition at line 234 of file stm3210c_eval_ioe.h.

#define IOE_TS_IT   (uint8_t)(IO_IT_0 | IO_IT_1 | IO_IT_2)

Definition at line 405 of file stm3210c_eval_ioe.h.

#define JOY_IO_DOWN   IO_Pin_6

Definition at line 358 of file stm3210c_eval_ioe.h.

Referenced by IOE_JoyStickGetState().

#define JOY_IO_LEFT   IO_Pin_5

Definition at line 359 of file stm3210c_eval_ioe.h.

Referenced by IOE_JoyStickGetState().

#define JOY_IO_NONE   JOY_IO_PINS

Definition at line 362 of file stm3210c_eval_ioe.h.

Referenced by IOE_JoyStickGetState().

#define JOY_IO_PINS   (uint32_t)(IO_Pin_3 | IO_Pin_4 | IO_Pin_5 | IO_Pin_6 | IO_Pin_7)

Definition at line 363 of file stm3210c_eval_ioe.h.

Referenced by IOE_Config().

#define JOY_IO_RIGHT   IO_Pin_4

Definition at line 360 of file stm3210c_eval_ioe.h.

Referenced by IOE_JoyStickGetState().

#define JOY_IO_SEL   IO_Pin_7

JOYSTICK Pins definition.

Definition at line 357 of file stm3210c_eval_ioe.h.

Referenced by IOE_JoyStickGetState().

#define JOY_IO_UP   IO_Pin_3

Definition at line 361 of file stm3210c_eval_ioe.h.

Referenced by IOE_JoyStickGetState().

#define MEMS_INT1_PIN   IO_Pin_3 /* IO_Exapnader_1 */

Definition at line 207 of file stm3210c_eval_ioe.h.

Referenced by IOE_Config().

#define MEMS_INT2_PIN   IO_Pin_2 /* IO_Exapnader_1 */

Definition at line 208 of file stm3210c_eval_ioe.h.

Referenced by IOE_Config().

#define MII_INT_PIN   IO_Pin_0 /* IO_Exapnader_2 */

Definition at line 205 of file stm3210c_eval_ioe.h.

Referenced by IOE_Config().

#define Polarity_High   0x04

Definition at line 388 of file stm3210c_eval_ioe.h.

#define Polarity_Low   0x00

Interrupt Line output parameters.

Definition at line 387 of file stm3210c_eval_ioe.h.

#define STMPE811_ID   0x0811

Definition at line 224 of file stm3210c_eval_ioe.h.

#define TOUCH_IO_ALL   (uint32_t)(IO_Pin_1 | IO_Pin_2 | IO_Pin_3 | IO_Pin_4)

Definition at line 352 of file stm3210c_eval_ioe.h.

#define TOUCH_XD   IO_Pin_2 /* IO_Exapnader_1 */

Definition at line 349 of file stm3210c_eval_ioe.h.

#define TOUCH_XU   IO_Pin_4 /* IO_Exapnader_1 */

Definition at line 351 of file stm3210c_eval_ioe.h.

#define TOUCH_YD   IO_Pin_1 /* IO_Exapnader_1 */

Touch Screen Pins definition.

Definition at line 348 of file stm3210c_eval_ioe.h.

#define TOUCH_YU   IO_Pin_3 /* IO_Exapnader_1 */

Definition at line 350 of file stm3210c_eval_ioe.h.

#define Type_Edge   0x02

Definition at line 390 of file stm3210c_eval_ioe.h.

#define Type_Level   0x00

Definition at line 389 of file stm3210c_eval_ioe.h.

#define VBAT_DIV_PIN   IO_Pin_0 /* IO_Exapnader_1 */

Definition at line 206 of file stm3210c_eval_ioe.h.

Referenced by IOE_Config().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32