![]() |
LibDriver BPC
|
bpc example driver modules More...
Functions | |
| uint8_t | bpc_basic_irq_handler (void) |
| basic irq | |
| uint8_t | bpc_basic_init (void(*callback)(bpc_t *data)) |
| basic example init | |
| uint8_t | bpc_basic_deinit (void) |
| basic example deinit | |
| uint8_t | bpc_basic_set_timestamp_time_zone (int8_t zone) |
| basic example set the local time zone | |
| uint8_t | bpc_basic_get_timestamp_time_zone (int8_t *zone) |
| basic example get the local time zone | |
| uint8_t | bpc_basic_convert_timestamp (bpc_t *t, time_t *timestamp) |
| basic example convert the time to a unix timestamp | |
bpc example driver modules
| uint8_t bpc_basic_convert_timestamp | ( | bpc_t * | t, |
| time_t * | timestamp ) |
basic example convert the time to a unix timestamp
| [in] | *t | pointer to a bpc structure |
| [out] | *timestamp | pointer to a unix timestamp buffer |
Definition at line 144 of file driver_bpc_basic.c.
| uint8_t bpc_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 97 of file driver_bpc_basic.c.
| uint8_t bpc_basic_get_timestamp_time_zone | ( | int8_t * | zone | ) |
basic example get the local time zone
| [out] | *zone | pointer to a local time zone buffer |
Definition at line 128 of file driver_bpc_basic.c.
| uint8_t bpc_basic_init | ( | void(* | callback )(bpc_t *data) | ) |
basic example init
| [in] | *callback | pointer to an irq callback address |
Definition at line 67 of file driver_bpc_basic.c.
| uint8_t bpc_basic_irq_handler | ( | void | ) |
basic irq
Definition at line 49 of file driver_bpc_basic.c.
| uint8_t bpc_basic_set_timestamp_time_zone | ( | int8_t | zone | ) |
basic example set the local time zone
| [in] | zone | local time zone |
Definition at line 114 of file driver_bpc_basic.c.