| BlueNRG-1 Peripherals drivers Examples

- Main Page
- Modules
- Classes
- Files

Macros | Functions
I2C Slave
BlueNRG1 Standard Peripheral Examples » I2C Examples

## Macros

#define | TOGGLE_DL1 '1'
#define | TOGGLE_DL2 '2'
#define | TOGGLE_DL3 '3'
#define | DEV_ADDRESS 0xBE
#define | SDK_EVAL_I2C_CLK_SPEED (10000)

## Functions

void | processCommand (void)
| Process command code. More...
void | I2C_ConfigurationSlave (void)
| I2C Slave initialization. More...
int | main (void)
| Main program code. More...

## Detailed Description

## Macro Definition Documentation

#define DEV_ADDRESS 0xBE

Definition at line 211 of file I2C_Slave_Polling_main.c.

#define SDK_EVAL_I2C_CLK_SPEED (10000)

Definition at line 214 of file I2C_Slave_Polling_main.c.

#define TOGGLE_DL1 '1'

Definition at line 206 of file I2C_Slave_Polling_main.c.

#define TOGGLE_DL2 '2'

Definition at line 207 of file I2C_Slave_Polling_main.c.

#define TOGGLE_DL3 '3'

Definition at line 208 of file I2C_Slave_Polling_main.c.

## Function Documentation

void I2C_ConfigurationSlave | ( | void |  | ) |

I2C Slave initialization.

Parameters

  None |

Return values

  None |

Clear all I2C pending interrupt

Definition at line 337 of file I2C_Slave_Polling_main.c.

int main | ( | void |  | ) |

Main program code.

Parameters

  None |

Return values

  None |

Definition at line 230 of file I2C_Slave_Polling_main.c.

void processCommand | ( | void |  | ) |

Process command code.

Parameters

  None |

Return values

  None |

Clear operation completed flag

Definition at line 258 of file I2C_Slave_Polling_main.c.