myi2c test

Committer:
mrsoundhar
Date:
Mon Jun 29 12:59:52 2015 +0000
Revision:
0:559a8e4aab60
i2c

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mrsoundhar 0:559a8e4aab60 1 /* mbed Microcontroller Library
mrsoundhar 0:559a8e4aab60 2 * Copyright (c) 2006-2013 ARM Limited
mrsoundhar 0:559a8e4aab60 3 *
mrsoundhar 0:559a8e4aab60 4 * Licensed under the Apache License, Version 2.0 (the "License");
mrsoundhar 0:559a8e4aab60 5 * you may not use this file except in compliance with the License.
mrsoundhar 0:559a8e4aab60 6 * You may obtain a copy of the License at
mrsoundhar 0:559a8e4aab60 7 *
mrsoundhar 0:559a8e4aab60 8 * http://www.apache.org/licenses/LICENSE-2.0
mrsoundhar 0:559a8e4aab60 9 *
mrsoundhar 0:559a8e4aab60 10 * Unless required by applicable law or agreed to in writing, software
mrsoundhar 0:559a8e4aab60 11 * distributed under the License is distributed on an "AS IS" BASIS,
mrsoundhar 0:559a8e4aab60 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mrsoundhar 0:559a8e4aab60 13 * See the License for the specific language governing permissions and
mrsoundhar 0:559a8e4aab60 14 * limitations under the License.
mrsoundhar 0:559a8e4aab60 15 */
mrsoundhar 0:559a8e4aab60 16 #ifndef MBED_PORTNAMES_H
mrsoundhar 0:559a8e4aab60 17 #define MBED_PORTNAMES_H
mrsoundhar 0:559a8e4aab60 18
mrsoundhar 0:559a8e4aab60 19 #ifdef __cplusplus
mrsoundhar 0:559a8e4aab60 20 extern "C" {
mrsoundhar 0:559a8e4aab60 21 #endif
mrsoundhar 0:559a8e4aab60 22
mrsoundhar 0:559a8e4aab60 23 typedef enum {
mrsoundhar 0:559a8e4aab60 24 Port0 = 0,
mrsoundhar 0:559a8e4aab60 25 Port1 = 1,
mrsoundhar 0:559a8e4aab60 26 Port2 = 2,
mrsoundhar 0:559a8e4aab60 27 Port3 = 3,
mrsoundhar 0:559a8e4aab60 28 Port4 = 4
mrsoundhar 0:559a8e4aab60 29 } PortName;
mrsoundhar 0:559a8e4aab60 30
mrsoundhar 0:559a8e4aab60 31 #ifdef __cplusplus
mrsoundhar 0:559a8e4aab60 32 }
mrsoundhar 0:559a8e4aab60 33 #endif
mrsoundhar 0:559a8e4aab60 34 #endif