-
PDF
047304JES_2013.pdf
Figure 1. Cell temperature evolution after current interruption for estimation of surface heat transfer coefficient. corresponding heat transfer coefficient is 28.4W/(m K), as calculated by the given value of cell specific heat, mass and dimensions. offered in AutoLion, a commercial software package for
in „Lithium Ionen Batterie auf 4,2V bei 0°C aufladen sicher?“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
DOGMLCDSPI.c
Disp_Byte(int Data) { // Data Mode vorbeireiten; setze RS high lcd_set_rs_spi(); //set data to transfer SPIYX = Data & 0xFF; // Wait for the transfer to complete while(!(SPISTA&0x08)); //Übertragung abschließen durch RS toggle lcd_clear_rs_spi(); //low delay_lcd(500000); // warte auf Display lcd_set_rs_spi
in „EA DOGM und ARM7“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ili9328.pdf
be display through the 16-bit MPU interface. When the 262K color is displayed, two transfers (1 transfer: 2 nd st nd bits, 2 transfer: 16 bits or 1 transfer: 16 bits, 2 transfer: 2 bits) are necessary for the 16-bit CPU interface. TRI DFM 16-bit MPU System Interface Data Format system 16-bit interface
in „VW-Werbebeilage mit Display (vidipri)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ILI9328DS_V0.1.pdf
be display through the 16-bit MPU interface. When the 262K color is displayed, two transfers (1 transfer: 2 nd st nd bits, 2 transfer: 16 bits or 1 transfer: 16 bits, 2 transfer: 2 bits) are necessary for the 16-bit CPU interface. TRI DFM 16-bit MPU System Interface Data Format system 16-bit interface
in „[V]erkaufe TFT 2.8" und TFT 2.4" mit adapter PCB“ · Markt ·
-
Datei
master.txt
#include <reg935.h> // flag to indicate if SPI is currently involved in a transfer or not // stops a write to the SPI bus while a write is in progress static bit mspibusy = 0; unsigned char daten_send = 8; unsigned char daten_empf; sbit LED = 0xA0; /*****************************
in „SPI schnittstelle“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ILI9325.pdf
be display through the 16-bit MPU interface. When the 262K color is displayed, two transfers (1 transfer: 2 nd st nd bits, 2 transfer: 16 bits or 1 transfer: 16 bits, 2 transfer: 2 bits) are necessary for the 16-bit CPU interface. TRI DFM 16-bit MPU System Interface Data Format system 16-bit interface
in „Programmierung von ILI9325 TFT Display“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ILI9325DS_V0.35.pdf
be display through the 16-bit MPU interface. When the 262K color is displayed, two transfers (1 transfer: 2 nd st nd bits, 2 transfer: 16 bits or 1 transfer: 16 bits, 2 transfer: 2 bits) are necessary for the 16-bit CPU interface. TRI DFM 16-bit MPU System Interface Data Format system 16-bit interface
in „[V]erkaufe TFT 2.8" und TFT 2.4" mit adapter PCB“ · Markt ·
-
PDF
ILI9325DS_V0.28.pdf
be display through the 16-bit MPU interface. When the 262K color is displayed, two transfers (1 transfer: 2 nd st nd bits, 2 transfer: 16 bits or 1 transfer: 16 bits, 2 transfer: 2 bits) are necessary for the 16-bit CPU interface. TRI DFM 16-bit MPU System Interface Data Format system 16-bit interface
in „Chinesisches TFT LCD zum Schnäppchenpreis“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SanDisk_MMC_2BRS-MMC_PM_1.0.pdf
"transfer State (dis) State (prg) end" CMD7 CMD7 is used to select one MultiMediaCard/RS-MultiMediaCard and place it in the Transfer State. Only one card can be in the Transfer State at a given time. If a previously
in „HDD und MMC Ansteuerung“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
BGScript_developer_guide_v3.3.pdf
*-10) + 48 # Change display data address call hardware_io_port_write(1,$7,$1) call hardware_spi_transfer(0,1,"\x87") # Write battery value call hardware_io_port_write(1,$7,$3) call hardware_spi_transfer(0,4,tmp(0:4)) call hardware_spi_transfer(0,3," mV") end if # Received temperature reading if (input
in „BLE112 wer kennt sich mit dem UART aus ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c_slave.vhd
downto 0); signal sda_del_in_q : std_logic; signal sda_in_q : std_logic_vector(0 downto 0); type TRANSFER_TYPE is (READ, WRITE); -- signal transfer_q : TRANSFER_TYPE; -- derzeit nicht benutzt signal tx_empty_q : std_logic; signal busy_q : boolean; signal error_q : I2C_SLV_ERROR_TYPE; begin -- SDA ist
-
PDF
PHOTOTRANSISTOR_-_OPTOCOUPLER_IL5.pdf
Transfer Ratio (Collector-Base) CTR CB 0.25 % F =10 mA, CB =9.3 V IL2 Saturated Current Transfer Ratio (Collector-Emitter) CTR CESAT 170 % F =10 mA, CE=0.4 V Current Transfer Ratio (Collector-Emitter) CTR CE 100 200 500 % F =10 mA, CE=10 V Current Transfer Ratio CTR 0.25 % I =10 mA, V =9.3 V CB F CB IL5 Saturated Current Transfer Ratio (Collector-Emitter) CTR CESAT 100 % F =10 mA, CE=0.4 V Current Transfer Ratio (Collector-Emitter) CTR CE 50 130 400
in „Merten Dimmaktor (6470 29) keine 0-10V am Ausgang“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
2_gameboy.pdf
FF55 can be used to confirm if the DMA transfer is active (1=Not Active, 0=Active). This works under any circumstances - after completion of General Purpose, or H-Blank Transfer, and after manually terminating a H-Blank Transfer. Transfer Timings
in „(Chip8 / gameboy) Emulator für AVR AVR32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Arduino_Test_Code.ino
, MSBFIRST, SPI_MODE1)); digitalWrite(CS_PIN, LOW); SPI.transfer16(command); digitalWrite(CS_PIN, HIGH); digitalWrite(CS_PIN, LOW); uint16_t data = SPI.transfer16(0x0000); // Dummy write to read digitalWrite(CS_PIN, HIGH); return data; } /* uint8_t readRegister
in „Problem mit der SPI Datenübertragung zwischen einem Arduino Portenta H7 und einem ADS8684 (ADC)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Seiten_aus_IRFD_FINAL_de.pdf
frequency is termed a zero of the function. Similarly, at s= Pn, the denominator vanishes, causing the transfer function to become infinite. Such a complex frequency is termed a pole of the transfer function. The transfer function of the series tuned circuit, Eq. 2.3-1, is clearly the ratio of two polynomials
in „Ist ein Filter immer ein Delay dass mit Phasenauslöschung funktioniert ?“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
mci.c
i--) { if (GPDMA_RAW_INT_TCSTAT & 0x01) { /* Data transfer finished. */ break; } } if (i == 0) { /* DMA Transfer timeout. */ return (0); } if (cnt > 1) { /* Stop reading Multiple sectors. */ mci_send_stop (); } return (1); } /*---------------------------
in „NXP verschenkt ARM-Chips“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
capture.txt
Control Protocol, Src Port: 1900 (1900), Dst Port: http (80), Seq: 1, Ack: 1, Len: 459 Hypertext Transfer Protocol No. Time Source Destination Protocol Info 7 1.567106 141.25.73.15 141.25.73.14 HTTP HTTP/1.0 200 OK Frame 7 (98 bytes on wire, 98 bytes captured) Ethernet II, Src: 00:50:da:1d:7b:c6, Dst:
-
Datei
Bootloader230.a51
============== S U B R O U T I N E ======================================= UsbHandler: ; jb UIF_TRANSFER, usb_Transf ljmp usb_reset usb_Transf: mov A, USB_INT_ST anl A, #0x3F jnz testEp0In ljmp EP0OutTransfer testEp0In: add A, #0xE0 jnz TestEp2In ljmp Ep0InTransfer TestEp2In: add A, #0xFE jz EP2InTransfer add A, #0xF2 jz SetupPacket add A, #0x2E jz Ep2OutTransfer ljmp transfer_done Ep2OutTransfer: jb U_TOG_OK, CopyBuffer ljmp transfer_done CopyBuffer: mov RAM_09, USB_RX_LEN mov RAM_0D+0, #1 mov RAM_0D+1, #high EP2_BUFFER mov RAM_0D+2, #low EP2_BUFFER mov RAM
in „uC für 0,20€ CH552 / CH554 von WCH Billig Micro mit USB Funktion, Chip vorstellung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usbStefan_Aenderung.c
CMD.SetupPacket.bmRequestType & 0x80) == 0) { trace("bmRequestType & 0x80 ==0\n"); return; } i = CMD.TransferLen; if (i > CMD.PacketLen) i = CMD.PacketLen; Q = CMD.TransferPtr; /* Quelle */ j = WriteControlBlock(Q, i); CMD.TransferPtr = Q + j; /* Zeiger auf evt. Rest merken */ CMD.TransferLen = CMD.TransferLen
in „USB CDC von Stefan Frings und WS“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
slau056e.pdf
Repeated CPU activity is interleaved with a block transfer. burst-block DMAEN remains enabled. transfer 8-5 Single Transfer In single transfer mode, each byte/word transfer requires a separate trigger. The single transfer state diagram is shown in Figure
in „MSP430 LCD Controller“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
slau056e.pdf
Repeated CPU activity is interleaved with a block transfer. burst-block DMAEN remains enabled. transfer 8-5 Single Transfer In single transfer mode, each byte/word transfer requires a separate trigger. The single transfer state diagram is shown in Figure
in „MSP430FG439 mit LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
hardware_t.cpp
, 0x009AAFF0, 3); break; } case 0x0F : { TransferPlane_Set_Buffer_Adr(0x009569F0, 0x009AAFF0, 0x00000000, 0x00000000); TransferPlanes_clear_asm(0x0093A7F0, 0x0098EDF0, 0x00943DF0, 0x009983F0, 0x0094D3F0, 0x009A19F0, 4); break; } case 0x10 : { TransferPlanes_clear_asm
in „Wittig(welec) DSO W20xxA Open Source Firmware (Teil3)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
hardware_t.cpp
3); break; case 0x16 : TransferPlanes_asm(0x00943DF0, 0x009983F0, 0x0094D3F0, 0x009A19F0, 0x009311F0, 0x009B45F0, 3); break; case 0x17 : { TransferPlane_Set_Buffer_Adr(0x009311F0, 0x009B45F0, 0x00000000, 0x00000000); TransferPlanes_asm
in „Wittig(welec) DSO W20xxA Open Source Firmware (Teil4)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usb_vcp.c
CMD.SetupPacket.bmRequestType & HOST_) == 0) { trace("bmRequestType & 0x80 ==0\n"); return; } i = CMD.TransferLen; if (i > CMD.PacketLen) i = CMD.PacketLen; Q = CMD.TransferPtr; /* Quelle */ //j = UsbMemWrite (/*(uint8_t*)*/ EP0OutBuffer, Q, i); //ValidateBuffer(0); j = WriteControlBlock(Q, i); CMD.TransferPtr = Q + j; /* Zeiger auf evt. Rest merken */ CMD.TransferLen = CMD.TransferLen - j; /* restliche Anzahl Bytes */ if (CMD.TransferLen < 0) CMD.TransferLen = 0; } /**********************************************************************/ /************ Bearbeitung
in „STM32 USB Übertragungsproblem mit Code von S.F.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usb_vcp.c
CMD.SetupPacket.bmRequestType & HOST_) == 0) { trace("bmRequestType & 0x80 ==0\n"); return; } i = CMD.TransferLen; if (i > CMD.PacketLen) i = CMD.PacketLen; Q = CMD.TransferPtr; /* Quelle */ //j = UsbMemWrite (/*(uint8_t*)*/ EP0OutBuffer, Q, i); //ValidateBuffer(0); j = WriteControlBlock(Q, i); CMD.TransferPtr = Q + j; /* Zeiger auf evt. Rest merken */ CMD.TransferLen = CMD.TransferLen - j; /* restliche Anzahl Bytes */ if (CMD.TransferLen < 0) CMD.TransferLen = 0; } /**********************************************************************/ /************ Bearbeitung
in „STM32 USB Übertragungsproblem mit Code von S.F.“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
kazemi-millimeter-wireless-power-transfer-technology.pdf
Millimeter wave Wireless Power Transmission Technologies and Applications •Hooman Kazemi Ph.D. •Hooman.Kazemi@Raytheon.com Raytheon Space and Airborne Systems technical data controlled under either the U.S. International Traffic in Arms Regulations or the U.S. Export Administration Regulations” Copyright © 2019 Raytheon Company. All rights reserved. Presentation Overview The RF Wireless Power Beaming history and notable demonstrations to date Millimeter wave Power beaming analysis and key advantages Millimeter wave Transmitter Technology Millimeter wave Rectifier Technology Distribution A:
in „500W über 500m per Millimeterwelle übertragen?“ · HF, Funk und Felder ·
-
PDF
E0124N10.pdf
target) DEVSEL# (From target) Turn-around End of data Starts data cycle (wait) Wait Wait Wait Wait transfer transfer (idle state) Latches Data Data Data Data Last address transfer transfer transfer transfer data signal and transfer sets bus command Controls of read cycle and write cycle are performed with
in „VGA Grafikkarte mit AVR und 8MB SDRAM“ · Projekte & Code ·
-
Datei
Nitro-Log.asm
condition and address brcs error1 ldi i2cdata,$00 ; Write word address rcall i2c_write ; Execute transfer brcs error2 ldi i2cdata,$00 ; Write word address rcall i2c_write ; Execute transfer brcs error3 ldi i2cdata,$0b00110011 ; Set write data rcall i2c_write ; Execute transfer brcs error4 rcall i2c_stop
-
Datei
Nitro-Log.asm
condition and address brcs error1 ldi i2cdata,$00 ; Write word address rcall i2c_write ; Execute transfer brcs error2 ldi i2cdata,$00 ; Write word address rcall i2c_write ; Execute transfer brcs error3 ldi i2cdata,$0b00110011 ; Set write data rcall i2c_write ; Execute transfer brcs error4 rcall i2c_stop
-
PDF
SSA_Cuk_Middlebrook.pdf
7 ) . Steady-state (dc) model: From the dynamic (ac) model, the lin e voltage t o state-vector transfer functions can be easily derived as: Dynamic (ac small-signal) model: T Hence at t h i s stage both steady-state In these re su lts, A, b and c are given as before (dc) and lin e transfer functions
in „Verdammte Regelung eines 200W Buckwandlers!“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
S3demo.vhd
std_logic_vector(5 downto 0); Comp_Ma_BRAM_SRAM_Adr_Base : out std_logic_vector(7 downto 0); Comp_BRAM_SRAM_Transfer_Busy : in std_logic ; -- Steuersignale für FPGA Master Comp_MAWR : out std_logic; Comp_MARD : out std_logic; Comp_Ma_USB_SRAM_Adr_Base : out std_logic_vector(10 downto 0); Comp_USB_SRAM_Transfer_Busy
in „Problem mit DCM Management in Spartan 3“ · FPGA, VHDL & Co. ·
-
Datei
KopievonS3demo.vhd
std_logic_vector(5 downto 0); Comp_Ma_BRAM_SRAM_Adr_Base : out std_logic_vector(7 downto 0); Comp_BRAM_SRAM_Transfer_Busy : in std_logic ; -- Steuersignale für FPGA Master Comp_MAWR : out std_logic; Comp_MARD : out std_logic; Comp_Ma_USB_SRAM_Adr_Base : out std_logic_vector(10 downto 0); Comp_USB_SRAM_Transfer_Busy
in „Problem mit DCM Management in Spartan 3“ · FPGA, VHDL & Co. ·
-
PDF
DS1307.pdf
CONFIGURATION Figure 4 Figures 5, 6, and 7 detail how data is transferred on the 2-wire bus. § Data transfer may be initiated only when the bus is not busy. § During data transfer, the data line must remain stable whenever the clock line is HIGH. Changes in the data line while the clock line is high will
in „Real-Time Clock (ds1307)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
optokoppler-siemens-datasheet.pdf
seating plane 1.5 mm) ..........260°C 5–1 This document was created with FrameMaker 4.0.4 CurrentTransfer Ratio and Collector-Emitter Leakage Current Figure 3. Current transfer ratio ver- by dash number sus diode current (T =–25°C, V =5 V) I /I =f (I ) -0 -1 -2 -3 Unit A CE C F F C FI at CE=5 V (F =10
in „welches relais fuer mega16?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AN748.pdf
swept, Code 10 will be missing. When DNL-error values are offset (that is, -1LSB, +2LSB), the ADC transfer function is altered. Offset DNL values can still in theory have no missing codes. The key is having -1LSB as the low limit. Note that DNL is measured in one direction, usually going up the transfer
in „16-Bit AD/Wandler bis Abtast-f von 100 khz“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR120.pdf
the specified conversion range. An ideal ADC can be described mathematically by a straight-line transfer function, as shown in Figure 1. Figure 1. Transfer function of an ideal ADC Output value Analog input To define a perfect ADC, the concept of quantization must be introduced. Due to the digital nature
in „ATtiny15 ADC differential“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
doc2559.pdf
the specified conversion range. An ideal ADC can be described mathematically by a straight-line transfer function, as shown in Figure 1. Figure 1. Transfer function of an ideal ADC Output value Analog input To define a perfect ADC, the concept of quantization must be introduced. Due to the digital nature
in „ADC-Wert nicht linear beim Einlesen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
CyAPI.pdf
advanced method for performing asynchronous IO. This method sets-up all the parameters for a data transfer, initiates the transfer, and immediately returns, not waiting for the transfer to complete. BeginDataXfer allocates a complex data structure and returns a pointer to that structure. FinishDataXfer
in „CY7C68001 Datenübertragung mit Windows (CyApi Verständnisfrage)“ · Softwareentwicklung ·
-
Datei
main.c
Kontrollstruktur ulMode = uDMAChannelModeGet(UDMA_CHANNEL_I2S0RX | UDMA_PRI_SELECT); // Wenn der uDMA den Transfer abgeschlossen hat, stoppt er automatisch if(ulMode == UDMA_MODE_STOP) { /* * Konfiguriert die Übertragungsparamter für den nächsten Transfer des I2SRx Kanals für den uDMA * Primäre Kontrollstruktur
in „Probleme mit Goertzel Algorithmus und Festkommaarithmetik“ · Digitale Signalverarbeitung / DSP / Machine Learning ·
-
Datei
usb.c
CMD.SetupPacket.bmRequestType & 0x80) == 0) { trace("bmRequestType & 0x80 ==0\n"); return; } i = CMD.TransferLen; if (i > CMD.PacketLen) i = CMD.PacketLen; Q = CMD.TransferPtr; /* Quelle */ j = WriteControlBlock(Q, i); CMD.TransferPtr = Q + j; /* Zeiger auf evt. Rest merken */ CMD.TransferLen = CMD.TransferLen
in „STM32 USB Übertragungsproblem mit Code von S.F.“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DS3930.pdf
transfer are possible. terminals control the 2-wire serial port: SDA, SCL, and A0. Timing diagrams for the 2-wire serial port can be Each data transfer is initiated with a start condition and SDA MSB SLAVE
-
PDF
doc2585.pdf
operation would corrupt the data of the current transfer, a write-collision error in generated by setting the WCOL bit in the SPSR. The write operation will not be executed in this case and the transfer continues undisturbed. A write collision is generally a slave error because a slave has no control over when a master will initiate a transfer. A master, however, knows when a transfer is in progress. Thus a master should not generate write collision errors, although the SPI logic can detect these errors in a master as well as in a slave
in „daten via SPI uebertragen?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
doc2585.pdf
would corrupt the data of the current transfer, a write-collision error in generated by setting the WCOL bit in the SPSR. The write operation will not be executed in this case and the transfer continues undisturbed. A write collision is generally a slave error because a slave has no control over when a master will initiate a transfer. A master, however, knows when a transfer is in progress. Thus a master should not generate write collision errors, although the SPI logic can detect these errors in a master as well as in a slave
in „Frage bezgl. SPI und ISP“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR-SPI-doc2585.pdf
would corrupt the data of the current transfer, a write-collision error in generated by setting the WCOL bit in the SPSR. The write operation will not be executed in this case and the transfer continues undisturbed. A write collision is generally a slave error because a slave has no control over when a master will initiate a transfer. A master, however, knows when a transfer is in progress. Thus a master should not generate write collision errors, although the SPI logic can detect these errors in a master as well as in a slave
in „SPI hängt beim Warten auf Ende der Übertragung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Enum_USBStreamer.txt
--- 0x07 bLength 0x05 bDescriptorType 0x01 bEndpointAddress (OUT endpoint 1) 0x05 bmAttributes (Transfer: Isochronous / Synch: Asynchronous / Usage: Data) 0x01A0 wMaxPacketSize (1 x 416 bytes) 0x01 bInterval (1 microframes) AS Isochronous Data Endpoint Descriptor: ------------------------------ 0x08
in „USB Audio Sync Endpoint Implementierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usb_vcp.c
CMD.SetupPacket.bmRequestType & 0x80) == 0) { trace("bmRequestType & 0x80 ==0\n"); return; } i = CMD.TransferLen; if (i > CMD.PacketLen) i = CMD.PacketLen; Q = CMD.TransferPtr; /* Quelle */ j = WriteControlBlock(Q, i); CMD.TransferPtr = Q + j; /* Zeiger auf evt. Rest merken */ CMD.TransferLen = CMD.TransferLen
in „STM32 USB Übertragungsproblem mit Code von S.F.“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MSP430FR59xx.pdf
trigger a transfer. eUSCI_Ax A transfer is triggered when eUSCI_Ax receives new data. UCAxRXIFG is automatically reset when the transfer starts. If UCAxRXIE is set, the UCAxRXIFG does not trigger a transfer. A transfer
in „Probleme mit Konfiguration der SPI-Schnittstelle am MSP430“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MSP430FR59xx.pdf
trigger a transfer. eUSCI_Ax A transfer is triggered when eUSCI_Ax receives new data. UCAxRXIFG is automatically reset when the transfer starts. If UCAxRXIE is set, the UCAxRXIFG does not trigger a transfer. A transfer
in „Schaltung für Vibrationsmessung mit Piezo“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
rej09b0101_16c29hm_2_.pdf
when the DMAi transfer counter (i = 0,1) underflows after reaching the terminal count Repeat transfer When the DMAi transfer counter underflows, it is reloaded with the value of the DMAi transfer counter reload register
in „Zeitproblem bei Softwarepwm“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mcp.c
} void mcp_write_byte(uint8_t addr, uint8_t reg, uint8_t data) { MCP_PORT &= ~(1<<MCP_CS); spi_transfer(MCP_OPCODE | ((addr<<1) & 0x0e) | MCP_WRITE); spi_transfer(reg); spi_transfer(data); MCP_PORT |= (1<<MCP_CS); } uint8_t mcp_read_byte(uint8_t addr, uint8_t reg) { uint8_t recData = 0; MCP_PORT &= ~(1<<MCP_CS); spi_transfer(MCP_OPCODE | ((addr << 1) & 0x0e) | MCP_READ); spi_transfer(reg); recData = spi_transfer(0x00); MCP_PORT |= (1<<MCP_CS); return recData; } void mcp_write_bit(uint8_t addr, uint8_t reg, uint8_t bit
in „Problem MCP23S17 und avr-gcc“ · Mikrocontroller und Digitale Elektronik ·