diff options
| author | Damien George | 2014-07-19 16:39:13 +0100 |
|---|---|---|
| committer | Damien George | 2014-07-19 16:39:13 +0100 |
| commit | 02bc882c3dbfcfd6c825cddf53ededac9af65f02 (patch) | |
| tree | a63c3c2a14db192109e9cd78232e33604c004847 /stmhal/portmodules.h | |
| parent | 5467186b0eaa6e856b00f60f807bb988ae2ef8c5 (diff) | |
stmhal: Add file.flush and os.stat.
Diffstat (limited to 'stmhal/portmodules.h')
| -rw-r--r-- | stmhal/portmodules.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stmhal/portmodules.h b/stmhal/portmodules.h index f38feafe7..d8a3d8f87 100644 --- a/stmhal/portmodules.h +++ b/stmhal/portmodules.h @@ -28,3 +28,8 @@ extern const mp_obj_module_t os_module; extern const mp_obj_module_t pyb_module; extern const mp_obj_module_t stm_module; extern const mp_obj_module_t time_module; + +// additional helper functions exported by the modules + +mp_uint_t mod_time_year_day(mp_uint_t year, mp_uint_t month, mp_uint_t date); +mp_uint_t mod_time_seconds_since_2000(mp_uint_t year, mp_uint_t month, mp_uint_t date, mp_uint_t hour, mp_uint_t minute, mp_uint_t second); |
