Crate libopencm3_sys
Alarm Event Flag
Counter Overflow Flag
Counter Second Flag
@}
Add a word to the CRC calculator and return the result. @param data new word to add to the CRC calculator @return final CRC calculator value
Add a block of data to the CRC calculator and return the final result @param datap pointer to the start of a block of 32bit data words @param size length of data, in 32bit increments @return final CRC calculator value
Reset the CRC calculator to initial values.
Is the given oscillator ready? @param osc Oscillator ID @return true if the hardware indicates the oscillator is ready.
@{
Wait for Oscillator Ready. Block until the hardware indicates that the Oscillator is ready. @param osc Oscillator ID
Disconnect, if supported by the driver
Set an Out endpoint to NAK @param addr EP address @param nak if nonzero, set NAK
Read a packet @param addr EP address @param len # of bytes @return Actual # of bytes read
Setup an endpoint @param addr Full EP address including direction (e.g. 0x01 or 0x81) @param type Value for bmAttributes (USB_ENDPOINT_ATTR_*)
Get STALL status of an endpoint @param addr Full EP address (with direction bit) @return nonzero if endpoint is stalled
Set/clear STALL condition on an endpoint @param addr Full EP address (with direction bit) @param stall if 0, clear STALL, else set stall.
Write a packet @param addr EP address (direction is ignored) @param len # of bytes @return 0 if failed, len if successful
Main initialization entry point.
Registers a control callback.
Registers a reset callback
Registers a resume callback
Registers a "Set Interface" (alternate setting) callback
Registers a "Set Config" callback @return 0 if successful
Registers a SOF callback
Registers a suspend callback
@defgroup CM3_nvic_isrprototypes_STM32F1 User interrupt service routines (ISR) prototypes for STM32 F1 series @ingroup CM3_nvic_isrprototypes
DAC data size (8/12 bits), alignment (right/left)
DAC channel identifier
I2C speed modes.
RTC Interrupt Flags
Slave external trigger polarity
Input Capture input filter. The frequency used to sample the input and the number of events needed to validate an output transition.
Input Capture channel designators
Input Capture input source.
Input Capture input polarity
Input Capture input prescaler.
Output Compare channel designators
Output Compare mode designators
Type of an interrupt function. Only used to avoid hard-to-read function pointers in the efm32_vector_table_t struct.