Silicon Laboratories Stepper Machine Manual de usuario Pagina 19

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 40
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 18
AN428
Rev. 0.6 19
APPENDIX: JUMPSTART PROGRAM USING THE C8051F301
//-----------------------------------------------------------------------------
// F300_JumpStart.c
//-----------------------------------------------------------------------------
// Copyright 2010 Silicon Laboratories, Inc.
// http://www.silabs.com
//
// Program Description:
//
// - Interrupt-driven SMBus implementation
// - Only master states defined (no slave or arbitration)
// - Timer1 used as SMBus clock source
// - Timer2 used by SMBus for SCL low timeout detection
// - SCL frequency defined by <SMB_FREQUENCY> constant
// - Address for the slave I2C device is defined as SLAVE_ADDR
// - ARBLOST support included
// - Pinout:
// P0.0 -> SDA (SMBus)
// P0.1 -> SCL (SMBus)
// all other port pins unused
//
//
// Target: C8051F301
// Tool chain: Keil 7.20
//
// Release 1.0
// -Initial Revision (ACA)
// -June 2009
//
// Release 1.1
// - Moved the I2C address to this file from register_map.h
// - This project works with the new register_map.h file generation
// function in the Multisynth Clock Programmer
//
// Release 1.2 (August 2010)
Vista de pagina 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 39 40

Comentarios a estos manuales

Sin comentarios