Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

PM9603APE Datasheet(PDF) 13 Page - Sames

No. de pieza PM9603APE
Descripción Electrónicos  SINGLE PHASE POWER/ENERGY METERING MODULE SPI INTERFACE
PDF  18 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  SAMES [Sames]
Página de inicio  http://www.sames.co.za
Logo SAMES - Sames

PM9603APE Datasheet(HTML) 13 Page - Sames

Back Button PM9603APE Datasheet HTML 9Page - Sames PM9603APE Datasheet HTML 10Page - Sames PM9603APE Datasheet HTML 11Page - Sames PM9603APE Datasheet HTML 12Page - Sames PM9603APE Datasheet HTML 13Page - Sames PM9603APE Datasheet HTML 14Page - Sames PM9603APE Datasheet HTML 15Page - Sames PM9603APE Datasheet HTML 16Page - Sames PM9603APE Datasheet HTML 17Page - Sames Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 18 page
background image
PM9603AP
sames
13/18
for ( counter = 0; counter <8; counter++)
{
and_mask = (mask & value);
if (and_mask == mask)
{
spi_out(portval | DO_b);
// 1
spi_clock();
}
else
{
spi_out(portval & DO_m);
// 0
spi_clock();
}
value = value << 1;
}
spi_clock();
// sort out the extra clock cycle
between command & response
}
unsigned long spi_read_register(void)
// This function will read 24 bits of a register
// the register to be red would be indicated by the
// preceding spi_start_read function
{
int counter;
unsigned char and_mask,mask;
unsigned long fromport;
fromport = 0 ;
for ( counter = 0; counter < 24; counter++)
{
spi_clock();
if (((inportb(prt+1)) & DI_b) == DI_b)
fromport = fromport+ pow(2,(23-counter));
}
return(fromport);
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com