This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use core::marker::PhantomData; | |
use embassy::util::Unborrow; | |
use embassy_hal_common::unborrow; | |
pub struct Fmc<'d, T: Instance> { | |
peri: PhantomData<&'d mut T>, | |
} | |
unsafe impl<'d, T> Send for Fmc<'d, T> where T: Instance {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define BUFFER_SIZE 10 | |
enum SlaveMode { | |
Receiving, | |
Transmitting, | |
Listening | |
} slaveMode = Listening; | |
uint8_t receivingBuffer[BUFFER_SIZE] = {0}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
K=0.9; | |
m=1; | |
g=9.81; | |
T=100; | |
sim('obdelnik') | |
E(end) | |
sim('obdelnik2periody') | |
sim('dif1') | |
sim('dif2') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
unsigned PocetMezer(char *radek) { | |
if (radek == NULL) { | |
return 0; | |
} | |
unsigned counter = 0; | |
for (int i = 0; radek[i] != '\0'; i++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Původ a vývoj člověka | |
> zkoušení ze savců atd nebude | |
##Zařazení | |
* Kmen: Strunatci | |
* Podkmen: Obratlovci | |
* Třída: Savci | |
* Řád: Primáti - nehetnatci | |
* Čeleď: Hominidi - Lidé |