rfLPC
A low level library for using NXP's LPC17xx SoC. Config is given for MBED prototyping board
|
Digital-To-Analog Converter driver. More...
Functions | |
void | rflpc_dac_init (uint8_t clock_divider) |
Initializes the Digital To Analog Converter. More... | |
static void | rflpc_dac_write (uint16_t value) |
Set the value of DAC register. More... | |
Digital-To-Analog Converter driver.
void rflpc_dac_init | ( | uint8_t | clock_divider | ) |
Initializes the Digital To Analog Converter.
clock_divider | The divider applied to CPU clock. |
|
inlinestatic |
Set the value of DAC register.
value | A 10-bits value to be converted. |
Definition at line 53 of file dac.h.
References RFLPC_SET_BITS_VAL.