Projet

Général

Profil

Typedef » Historique » Révision 2

Révision 1 (Patrice Nadeau, 2024-01-27 15:00) → Révision 2/3 (Patrice Nadeau, 2024-01-27 15:00)

# Typedef 

 ## Règles 
 1. En minuscule 
 1. Suivie de **_t** _t 

 ## Exemple 
 ```c 
 /** 
 * @brief Type de la structure dans la librairie `ds1305` 
 */ 
 typedef struct { 
 /** @brief Dernier deux chiffres : ≥ 00, ≤ 99 */ 
 uint8_t year; 
 /** @brief 01 - 12 */ 
 uint8_t month; 
 /** @brief 01 - 31 */ 
 uint8_t date; 
 /** @brief 1 - 7 */ 
 uint8_t day; 
 /** @brief 00 - 23 */ 
 uint8_t hours; 
 /** @brief 00 - 59 */ 
 uint8_t minutes; 
 /** @brief 00 - 59 */ 
 uint8_t seconds; 
 } ds1305_time_t; 
 ``` 

 ### Justifications