TMPM4G9
V1.0.0.0
|
Functions | |
int | put_s (const char *s) |
The character is shown to an output stream. More... | |
int | get_s (char *s, uint8_t num) |
The string is acquired from an input stream. More... | |
__STATIC_INLINE uint8_t | convert_time_to_reg (uint8_t src) |
Convet time value to register setting value. More... | |
__STATIC_INLINE uint8_t | convert_time_to_dec (uint8_t src) |
Convet time value to decimal. More... | |
__STATIC_INLINE void | set_page (rtc_t *p_obj, uint8_t page) |
Set PAGE. More... | |
int | get_char_once (void) |
The character is acquired from an input stream. More... | |
__STATIC_INLINE uint8_t convert_time_to_dec | ( | uint8_t | src | ) |
Convet time value to decimal.
[in] | src | :Register setting value. |
Decimal. |
__STATIC_INLINE uint8_t convert_time_to_reg | ( | uint8_t | src | ) |
Convet time value to register setting value.
[in] | src | :Decimal. |
Register | setting value. |
int get_char_once | ( | void | ) |
The character is acquired from an input stream.
- |
(value | < 0) :Failure |
int get_s | ( | char * | s, |
uint8_t | num | ||
) |
The string is acquired from an input stream.
The character is acquired from an input stream.
[in] | s | :Destination address. |
[in] | num |
Suceess | :Num of input data(bytes). |
Failure | :-1 |
s | |
num | : Number of Input Caracter |
(value | < 0) :Failure |
int put_s | ( | const char * | s | ) |
The character is shown to an output stream.
[in] | s | :Source address. |
Suceess | :Num of output data(bytes). |
Failure | :-1 |
__STATIC_INLINE void set_page | ( | rtc_t * | p_obj, |
uint8_t | page | ||
) |
Set PAGE.
[in] | p_obj | :Object address. |
[in] | page | :Page. |
- |