From bbc microbit library
Fork of mbed-dev-bin by
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_config.h@4:4a743b1a8b47, 2018-01-11 (annotated)
- Committer:
- euxton
- Date:
- Thu Jan 11 21:18:19 2018 +0000
- Revision:
- 4:4a743b1a8b47
- Parent:
- 0:e1a608bb55e8
microbit library commits required
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jamesadevine | 0:e1a608bb55e8 | 1 | /* Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. |
jamesadevine | 0:e1a608bb55e8 | 2 | * |
jamesadevine | 0:e1a608bb55e8 | 3 | * The information contained herein is property of Nordic Semiconductor ASA. |
jamesadevine | 0:e1a608bb55e8 | 4 | * Terms and conditions of usage are described in detail in NORDIC |
jamesadevine | 0:e1a608bb55e8 | 5 | * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. |
jamesadevine | 0:e1a608bb55e8 | 6 | * |
jamesadevine | 0:e1a608bb55e8 | 7 | * Licensees are granted free, non-transferable use of the information. NO |
jamesadevine | 0:e1a608bb55e8 | 8 | * WARRANTY of ANY KIND is provided. This heading must NOT be removed from |
jamesadevine | 0:e1a608bb55e8 | 9 | * the file. |
jamesadevine | 0:e1a608bb55e8 | 10 | * |
jamesadevine | 0:e1a608bb55e8 | 11 | */ |
jamesadevine | 0:e1a608bb55e8 | 12 | #ifndef TWI_MASTER_CONFIG |
jamesadevine | 0:e1a608bb55e8 | 13 | #define TWI_MASTER_CONFIG |
jamesadevine | 0:e1a608bb55e8 | 14 | |
jamesadevine | 0:e1a608bb55e8 | 15 | #include "PinNames.h" |
jamesadevine | 0:e1a608bb55e8 | 16 | |
jamesadevine | 0:e1a608bb55e8 | 17 | #define TWI_MASTER_CONFIG_CLOCK_PIN_NUMBER (I2C_SCL0) |
jamesadevine | 0:e1a608bb55e8 | 18 | #define TWI_MASTER_CONFIG_DATA_PIN_NUMBER (I2C_SDA0) |
jamesadevine | 0:e1a608bb55e8 | 19 | |
jamesadevine | 0:e1a608bb55e8 | 20 | #endif |