Jump to main content
AVR Libc AVRLibc
AVR Libc AVRLibc
Index
  1. Home
  2. 2 Library Reference

    AVR Libc Library Reference

  3. 2 <stdio.h>: Standard IO facilities
  4. 2.3 Defines
  5. 2.3.10 _FDEV_SETUP_RW
Previous | Next

AVRLibc

  • AVR Libc
  • 1 User Manual
  • 2 Library Reference

    AVR Libc Library Reference

    • 2 <alloca.h>: Allocate space in the stack
    • 2 <assert.h>: Diagnostics
    • 2 <avr/boot.h>: Bootloader Support Utilities
    • 2 <avr/cpufunc.h>: Special AVR CPU functions
    • 2 <avr/eeprom.h>: EEPROM handling
    • 2 <avr/fuse.h>: Fuse Support
    • 2 <avr/interrupt.h>: Interrupts
    • 2 <avr/io.h>: AVR device-specific IO definitions
    • 2 <avr/lock.h>: Lockbit Support
    • 2 <avr/pgmspace.h>: Program Space Utilities
    • 2 <avr/power.h>: Power Reduction Management
    • 2 <avr/sfr_defs.h>: Special function registers
    • 2 <avr/signature.h>: Signature Support
    • 2 <avr/sleep.h>: Power Management and Sleep Modes
    • 2 <avr/version.h>: avr-libc version macros
    • 2 <avr/wdt.h>: Watchdog timer handling
    • 2 <compat/deprecated.h>: Deprecated items
    • 2 <compat/ina90.h>: Compatibility with IAR EWB 3.x
    • 2 <ctype.h>: Character Operations
    • 2 <errno.h>: System Errors
    • 2 <inttypes.h>: Integer Type conversions
    • 2 <math.h>: Mathematics
    • 2 <setjmp.h>: Non-local goto
    • 2 <stdint.h>: Standard Integer Types
    • 2 <stdio.h>: Standard IO facilities
      • 2.1 Typedefs
      • 2.2 Functions
      • 2.3 Defines
        • 2.3.1 stdin
        • 2.3.2 stdout
        • 2.3.3 stderr
        • 2.3.4 EOF
        • 2.3.5 fdev_set_udata

          fdev_set_udata(stream, u)

        • 2.3.6 fdev_get_udata

          fdev_get_udata(stream)

        • 2.3.7 fdev_setup_stream

          fdev_setup_stream(stream, put, get, rwflag)

        • 2.3.8 _FDEV_SETUP_READ
        • 2.3.9 _FDEV_SETUP_WRITE
        • 2.3.10 _FDEV_SETUP_RW
        • 2.3.11 _FDEV_ERR
        • 2.3.12 _FDEV_EOF
        • 2.3.13 FDEV_SETUP_STREAM

          FDEV_SETUP_STREAM(put, get, rwflag)

        • 2.3.14 fdev_close

          fdev_close()

        • 2.3.15 putc

          putc(__c, __stream)

        • 2.3.16 putchar

          putchar(__c)

        • 2.3.17 getc

          getc(__stream)

        • 2.3.18 getchar

          getchar(void)

    • 2 <stdlib.h>: General utilities
    • 2 <string.h>: Strings
    • 2 <time.h>: Time
    • 2 <util/atomic.h> Atomically and Non-Atomically Executed Code Blocks
    • 2 <util/crc16.h>: CRC Computations
    • 2 <util/delay.h>: Convenience functions for busy-wait delay loops
    • 2 <util/delay_basic.h>: Basic busy-wait delay loops
    • 2 <util/parity.h>: Parity bit generation
    • 2 <util/setbaud.h>: Helper macros for baud rate calculations
    • 2 <util/twi.h>: TWI bit mask definitions
    • 2.1 Structures
  • 3 Example Projects
  • 4 Files

2.3.10 _FDEV_SETUP_RW

fdev_setup_stream() with read/write intent

The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.

About

Company
Careers
Contact Us
Media Center
Investor Relations
Corporate Responsibility

Support

Microchip Forums
AVR Freaks
Design Help
Technical Support
Export Control Data
PCNs

Quick Links

microchipDIRECT.com
Microchip University
myMicrochip
Blogs
Reference Designs
Parametric Search
Microchip Logo

Microchip Technology Inc.

2355 West Chandler Blvd.

Chandler, Arizona, USA

Microchip Facebook
Microchip LinkedIn
Microchip Twitter
Microchip Instagram
Microchip Weibo

© Copyright 1998-2024 Microchip Technology Inc. All rights reserved. Shanghai ICP Recordal No.09049794

Terms Of Use
Privacy Notice
Legal
Your Privacy Choices California Consumer Privacy Act (CCPA) Opt-Out Icon