This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
resources:tools-software:uc-drivers:renesas:ad7799 [09 Apr 2021 12:53] – add no-OS SPI architecture Antoniu Miclaus | resources:tools-software:uc-drivers:renesas:ad7799 [09 Apr 2021 13:31] (current) – remove new content since will be added to a new page. Add not for legacy page Antoniu Miclaus | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== AD7799 - Microcontroller No-OS Driver ====== | ====== AD7799 - Microcontroller No-OS Driver ====== | ||
+ | |||
+ | <note important> | ||
+ | You're looking at a legacy page. A newer driver and reference project demo are available at [[resources/ | ||
+ | </ | ||
===== Supported Devices ===== | ===== Supported Devices ===== | ||
Line 50: | Line 54: | ||
Driver architecture | Driver architecture | ||
</ | </ | ||
- | |||
- | For the no-OS SPI method, the [[adi> | ||
- | * spi_init() - initializes the SPI communication peripheral. | ||
- | * spi_remove() – frees memory allocated by the SPI communication driver. | ||
- | * spi_write_and_read() – conduct information transfer with the device. | ||
- | |||
- | {{ : | ||
The implementation of these three functions depends on the used microcontroller. | The implementation of these three functions depends on the used microcontroller. | ||
Line 71: | Line 68: | ||
| void AD7799_SetGain(unsigned long gain) | Sets the gain of the In-Amp. | | | void AD7799_SetGain(unsigned long gain) | Sets the gain of the In-Amp. | | ||
| void AD7799_SetReference(unsigned char type) | Enables or disables the reference detect function. | | | void AD7799_SetReference(unsigned char type) | Enables or disables the reference detect function. | | ||
- | |||
- | ===== no-OS Code Documentation ===== | ||
- | |||
- | Source code documentation for the driver is automatically generated using the Doxygen tool and it is available at: | ||
- | |||
- | * [[http:// | ||
- | * [[http:// | ||
===== Downloads ===== | ===== Downloads ===== | ||
Line 83: | Line 73: | ||
* {{: | * {{: | ||
* {{: | * {{: | ||
- | * {{https:// | ||
- | * {{https:// | ||
====== Renesas RL78G13 Quick Start Guide ====== | ====== Renesas RL78G13 Quick Start Guide ====== |