Microchip® Advanced Software Framework

iisc.c File Reference

AVR UC3 IISC drivers.

Copyright (c) 2010-2018 Microchip Technology Inc. and its subsidiaries.

#include "compiler.h"
#include "iisc.h"

Functions

void iisc_disable (volatile avr32_iisc_t *iisc)
 IISC Disable function. More...
 
void iisc_disable_interrupts (volatile avr32_iisc_t *iisc, unsigned long int_mask)
 Disables the specified IISC interrupts. More...
 
void iisc_enable (volatile avr32_iisc_t *iisc)
 IISC Enable function. More...
 
void iisc_enable_interrupts (volatile avr32_iisc_t *iisc, unsigned long int_mask)
 Enables the specified IISC interrupts. More...
 
unsigned long iisc_get_status (volatile avr32_iisc_t *iisc)
 Returns the IISC status. More...
 
status_code_t iisc_init (volatile avr32_iisc_t *iisc, iisc_opt_t iisc_opt)
 Sets up registers and initializes IISC for use as I2S. More...
 
status_code_t iisc_read (volatile avr32_iisc_t *iisc, uint32_t *data)
 Read a single message of data. More...
 
status_code_t iisc_write (volatile avr32_iisc_t *iisc, uint32_t data)
 Write a single message of data. More...
 

Variables

bool rx_is_enabled = false
 IISC Rx Mode Enable. More...
 
bool tx_is_enabled = false
 IISC Tx Mode Enable. More...
 

bool rx_is_enabled = false

IISC Rx Mode Enable.

Referenced by iisc_disable(), iisc_enable(), and iisc_init().

bool tx_is_enabled = false

IISC Tx Mode Enable.

Referenced by iisc_disable(), iisc_enable(), and iisc_init().